summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-02-27 13:46:41 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-02-27 13:46:41 +0100
commit746cbf861a5a441695b2fc653ed8327a9b409035 (patch)
treec066946b5bf5f8d2920e8aa71f83d2a7ed59f387 /src/drivers
parent4863f959c827aa42631db4e1fff59b6091d0505f (diff)
Minor optimization of macOS automatic Window menu
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/Cocoa/Fl_MacOS_Sys_Menu_Bar_Driver.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Cocoa/Fl_MacOS_Sys_Menu_Bar_Driver.H b/src/drivers/Cocoa/Fl_MacOS_Sys_Menu_Bar_Driver.H
index c670a643b..684ae91f6 100644
--- a/src/drivers/Cocoa/Fl_MacOS_Sys_Menu_Bar_Driver.H
+++ b/src/drivers/Cocoa/Fl_MacOS_Sys_Menu_Bar_Driver.H
@@ -22,6 +22,7 @@
class Fl_MacOS_Sys_Menu_Bar_Driver : public Fl_Sys_Menu_Bar_Driver {
public:
Fl_Menu_Item *window_menu_items;
+ int first_window_menu_item;
Fl_MacOS_Sys_Menu_Bar_Driver();
virtual ~Fl_MacOS_Sys_Menu_Bar_Driver();
void update() FL_OVERRIDE;
@@ -39,7 +40,6 @@ public:
void replace(int index, const char *name) FL_OVERRIDE;
void mode(int i, int fl) FL_OVERRIDE;
void create_window_menu() FL_OVERRIDE;
- int find_first_window();
void new_window(Fl_Window *win);
void remove_window(Fl_Window *win);
void rename_window(Fl_Window *win);