summaryrefslogtreecommitdiff
path: root/src/Fl_Window.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2011-02-25 08:44:47 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2011-02-25 08:44:47 +0000
commit94e5f2e1fc5b9e6113e58c4bc494370e802f9783 (patch)
tree4c85b926be37efd7db6dab0ca19a95b814cd05db /src/Fl_Window.cxx
parent27987c6ee00273948920015c1da851f150279154 (diff)
Un-inlined Fl_Window::icon() methods to make them easier to extend w/o
breaking the ABI. See discussion in STR #2563. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8472 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Window.cxx')
-rw-r--r--src/Fl_Window.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx
index f2509a432..b5863b7db 100644
--- a/src/Fl_Window.cxx
+++ b/src/Fl_Window.cxx
@@ -277,6 +277,16 @@ const char *Fl_Window::xclass() const
}
}
+/** Gets the current icon window target dependent data. */
+const void *Fl_Window::icon() const {
+ return icon_;
+}
+
+/** Sets the current icon window target dependent data. */
+void Fl_Window::icon(const void * ic) {
+ icon_ = ic;
+}
+
//
// End of "$Id$".