summaryrefslogtreecommitdiff
path: root/src/Fl_Menu_Window.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Menu_Window.cxx')
-rw-r--r--src/Fl_Menu_Window.cxx6
1 files changed, 3 insertions, 3 deletions
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 <FL/Fl_Window_Driver.H>
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