From 1e060f640870dd1d3157ac70844b8461c955ff97 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 19 Apr 2016 15:33:58 +0000 Subject: Transform Fl_X::make(Fl_Window*) for WIN32 platform into virtual Fl_X* Fl_Window_Driver::makeWindow(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx') diff --git a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx index b72a6d7a4..fd8eac8e6 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx @@ -524,12 +524,12 @@ void Fl_WinAPI_Window_Driver::fullscreen_on() { void Fl_WinAPI_Window_Driver::fullscreen_off(int X, int Y, int W, int H) { pWindow->_clear_fullscreen(); DWORD style = GetWindowLong(fl_xid(pWindow), GWL_STYLE); - // Remove the xid temporarily so that Fl_X::fake_X_wm() behaves like it - // does in Fl_X::make(). + // Remove the xid temporarily so that Fl_WinAPI_Window_Driver::fake_X_wm() behaves like it + // does in Fl_WinAPI_Window_Driver::makeWindow(). HWND xid = fl_xid(pWindow); Fl_X::i(pWindow)->xid = NULL; int wx, wy, bt, bx, by; - switch (Fl_X::fake_X_wm(pWindow, wx, wy, bt, bx, by)) { + switch (fake_X_wm(wx, wy, bt, bx, by)) { case 0: break; case 1: -- cgit v1.2.3