diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-02-19 22:46:00 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-02-19 22:46:00 +0000 |
| commit | 90c42cac3ed99c0d12971f67ee49b89b80886527 (patch) | |
| tree | b8b83abb1655843d7949add43b6b5428fb23df45 | |
| parent | 093c0c7f738dd3dd9b73ea81e488e8aab0a6fa60 (diff) | |
WinAPI fixes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | FL/win32.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/win32.H b/FL/win32.H index 23f239cf3..2e18a2803 100644 --- a/FL/win32.H +++ b/FL/win32.H @@ -78,11 +78,11 @@ public: HDC saved_hdc; // saves the handle of the DC currently loaded // static variables, static functions and member functions static Fl_X* first; - static Fl_X* i(const Fl_Window* w) {return w->i;} + static Fl_X* i(const Fl_Window* w) {return (Fl_X*)w->i;} static int fake_X_wm(const Fl_Window* w,int &X, int &Y, int &bt,int &bx,int &by); void make_fullscreen(int X, int Y, int W, int H); - void setwindow(Fl_Window* wi) {w=wi; wi->i=this;} + void setwindow(Fl_Window* wi) {w=wi; wi->i=(Fl_Window_Driver*)this;} void flush() {w->flush();} void set_minmax(LPMINMAXINFO minmax); void mapraise(); |
