mirror of
https://github.com/fltk/fltk.git
synced 2026-05-25 17:42:14 +08:00
Fix: Redundant redeclaration of Fl_Shortcut fl_old_shortcut(const char*) (#1277)
This commit is contained in:
+1
-3
@@ -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();}
|
||||
|
||||
@@ -329,3 +329,6 @@ Fl_Toggle_Button::Fl_Toggle_Button(int X,int Y,int W,int H,const char *L)
|
||||
\param[in] v switch compact mode on (1) or off (0)
|
||||
*/
|
||||
void Fl_Button::compact(uchar v) { compact_ = v; }
|
||||
|
||||
/// (for backwards compatibility)
|
||||
void Fl_Button::shortcut(const char *s) {shortcut(fl_old_shortcut(s));}
|
||||
|
||||
Reference in New Issue
Block a user