From 8b7f7c78b2595b22aac6e3269bb1fd4b1a213420 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sat, 12 May 2018 09:36:36 +0000 Subject: Remove public member function Fl_Window_Driver *Fl_Window::driver() so class Fl_Window_Driver is not in FLTK public API. This function is replaced by static Fl_Window_Driver* Fl_Window_Driver::(const Fl_Window *win). The purpose is to have class Fl_Window_Driver outside from FLTK ABI. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Menu_Window.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_Menu_Window.cxx') diff --git a/src/Fl_Menu_Window.cxx b/src/Fl_Menu_Window.cxx index fd0ec6ed0..2010295fd 100644 --- a/src/Fl_Menu_Window.cxx +++ b/src/Fl_Menu_Window.cxx @@ -27,17 +27,17 @@ #include void Fl_Menu_Window::show() { - driver()->show_menu(); + Fl_Window_Driver::driver(this)->show_menu(); } void Fl_Menu_Window::flush() { if (!shown()) return; - driver()->flush_menu(); + Fl_Window_Driver::driver(this)->flush_menu(); } /** Erases the window, does nothing if HAVE_OVERLAY is not defined in config.h */ void Fl_Menu_Window::erase() { - driver()->erase_menu(); + Fl_Window_Driver::driver(this)->erase_menu(); } // Fix the colormap flashing on Maximum Impact Graphics by erasing the -- cgit v1.2.3