summaryrefslogtreecommitdiff
path: root/src/Fl_Window.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-21 17:55:10 +0000
committerManolo Gouy <Manolo>2016-03-21 17:55:10 +0000
commit3f34aba828983bc783529a30c0fa22c55b7abc05 (patch)
tree847fd89384088285bafc22e461a507c0d68e8d78 /src/Fl_Window.cxx
parent9ba3889ae5a7054b4d75c0ccb0f54e16b9b99159 (diff)
Rewrite Fl_Window::label(const char *name, const char *mininame) under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11394 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Window.cxx')
-rw-r--r--src/Fl_Window.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx
index 1fa27f928..cbd0863ff 100644
--- a/src/Fl_Window.cxx
+++ b/src/Fl_Window.cxx
@@ -487,6 +487,12 @@ void Fl_Window::make_current()
current_ = this;
}
+void Fl_Window::label(const char *name, const char *mininame) {
+ Fl_Widget::label(name);
+ iconlabel_ = mininame;
+ pWindowDriver->label(name, mininame);
+}
+
//
// End of "$Id$".
//