diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-02-19 22:43:40 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-02-19 22:43:40 +0000 |
| commit | 093c0c7f738dd3dd9b73ea81e488e8aab0a6fa60 (patch) | |
| tree | c997e9685d5a71481170a96033122ea3daea72ee /FL/x.H | |
| parent | 399501783ccd867559c954d91a00f7d5d7ec4cb8 (diff) | |
Fixes for X11
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/x.H')
| -rw-r--r-- | FL/x.H | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -143,8 +143,8 @@ public: char wait_for_expose; char backbuffer_bad; // used for XDBE static Fl_X* first; - static Fl_X* i(const Fl_Window* wi) {return wi->i;} - void setwindow(Fl_Window* wi) {w=wi; wi->i=this;} + static Fl_X* i(const Fl_Window* wi) {return (Fl_X*)wi->i;} + void setwindow(Fl_Window* wi) {w=wi; wi->i=(Fl_Window_Driver*)this;} void sendxjunk(); static void set_default_icons(const Fl_RGB_Image*[], int); void set_icons(); |
