summaryrefslogtreecommitdiff
path: root/src/Fl_Window.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-24 06:19:10 +0000
committerManolo Gouy <Manolo>2016-03-24 06:19:10 +0000
commit1778ee8831c00599b31390b61e687bd6b06bcb19 (patch)
tree42a53f4eddca1ac923f67130d2e9f1960767a5e5 /src/Fl_Window.cxx
parent6e141d14dfe367098d233a99d55221f357cbb684 (diff)
Fix the implementation of Fl_Window::default_icons(const Fl_RGB_Image *icons[], int count) under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11417 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Window.cxx')
-rw-r--r--src/Fl_Window.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx
index 05b8a8470..ef9669973 100644
--- a/src/Fl_Window.cxx
+++ b/src/Fl_Window.cxx
@@ -21,7 +21,6 @@
// crap you need to do to communicate with X is in Fl_x.cxx, the
// equivalent (but totally different) crap for MSWindows is in Fl_win32.cxx
#include <FL/Fl.H>
-#include <FL/x.H>
#include <FL/Fl_Window_Driver.H>
#include <FL/Fl_RGB_Image.H>
#include <FL/Fl_Window.H>
@@ -310,7 +309,7 @@ void Fl_Window::default_icon(const Fl_RGB_Image *icon) {
\see Fl_Window::icons(const Fl_RGB_Image *[], int)
*/
void Fl_Window::default_icons(const Fl_RGB_Image *icons[], int count) {
- Fl_X::set_default_icons(icons, count);
+ Fl_Window_Driver::default_icons(icons, count);
}
/** Sets a single window icon.