From 68f437b63e9e54769b1854097f2c95dd1cce12b7 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 3 Aug 2024 15:25:59 +0200 Subject: Improve visibility of selected tab in Fl_Tabs (#1032). --- FL/Fl_Tabs.H | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'FL') diff --git a/FL/Fl_Tabs.H b/FL/Fl_Tabs.H index 6fd0dcbbb..8fe21daa5 100644 --- a/FL/Fl_Tabs.H +++ b/FL/Fl_Tabs.H @@ -260,7 +260,6 @@ protected: int on_insert(Fl_Widget*, int) FL_OVERRIDE; int on_move(int, int) FL_OVERRIDE; void on_remove(int) FL_OVERRIDE; - void resize(int, int, int, int) FL_OVERRIDE; virtual void redraw_tabs(); virtual int tab_positions(); // allocate and calculate tab positions @@ -276,7 +275,10 @@ protected: public: Fl_Tabs(int X, int Y, int W, int H, const char *L = 0); - virtual ~Fl_Tabs(); + ~Fl_Tabs() FL_OVERRIDE; + + void resize(int, int, int, int) FL_OVERRIDE; + void show() FL_OVERRIDE; int handle(int) FL_OVERRIDE; Fl_Widget *value(); -- cgit v1.2.3