From c7c238675a0b66b52513b5c1931b5ec15054f406 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 6 Oct 2016 16:42:59 +0000 Subject: Introduce virtual void Fl_Menu_Bar::update() with a platform-specific reimplementation to support Fl_Sys_Menu_Bar. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Menu_Bar.H | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'FL/Fl_Menu_Bar.H') diff --git a/FL/Fl_Menu_Bar.H b/FL/Fl_Menu_Bar.H index dcb76652a..b6261069d 100644 --- a/FL/Fl_Menu_Bar.H +++ b/FL/Fl_Menu_Bar.H @@ -88,6 +88,10 @@ public: menu items. */ Fl_Menu_Bar(int X, int Y, int W, int H, const char *l=0); + /** Updates the menu bar after any change to its items. + This is useful when the menu bar can be an Fl_Sys_Menu_Bar object. + */ + virtual void update() {} }; #endif -- cgit v1.2.3