From e444371b1831fc4f84ef554902a07f8d52b3573f Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 15 Jul 2025 07:21:44 +0200 Subject: Fix: Redundant redeclaration of Fl_Shortcut fl_old_shortcut(const char*) (#1277) --- FL/Fl_Button.H | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'FL') diff --git a/FL/Fl_Button.H b/FL/Fl_Button.H index 995338545..a6429bbac 100644 --- a/FL/Fl_Button.H +++ b/FL/Fl_Button.H @@ -33,7 +33,6 @@ are set to zero.*/ #define FL_HIDDEN_BUTTON 3 ///< for Forms compatibility -extern FL_EXPORT Fl_Shortcut fl_old_shortcut(const char*); class Fl_Widget_Tracker; @@ -160,8 +159,7 @@ public: */ void down_box(Fl_Boxtype b) {down_box_ = b;} - /// (for backwards compatibility) - void shortcut(const char *s) {shortcut(fl_old_shortcut(s));} + void shortcut(const char *s); /// (for backwards compatibility) Fl_Color down_color() const {return selection_color();} -- cgit v1.2.3