diff options
| author | Manolo Gouy <Manolo> | 2016-10-06 16:42:59 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-10-06 16:42:59 +0000 |
| commit | c7c238675a0b66b52513b5c1931b5ec15054f406 (patch) | |
| tree | b49adf7f4938e1732705e6c99faa1fa94cc9fc7b /FL/Fl_Menu_Bar.H | |
| parent | a80ce48339952fc754aa6a95de6ba4ad64b73e68 (diff) | |
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
Diffstat (limited to 'FL/Fl_Menu_Bar.H')
| -rw-r--r-- | FL/Fl_Menu_Bar.H | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
