From 90c42cac3ed99c0d12971f67ee49b89b80886527 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 19 Feb 2016 22:46:00 +0000 Subject: WinAPI fixes git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/win32.H | 4 ++-- 1 file 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(); -- cgit v1.2.3