mirror of
https://github.com/fltk/fltk.git
synced 2026-05-29 20:45:33 +08:00
#868: Suppress warning about unused private members of Fl_Shortcut_Button
This commit is contained in:
@@ -55,6 +55,11 @@ Fl_Shortcut_Button::Fl_Shortcut_Button(int X,int Y,int W,int H, const char* l)
|
|||||||
box(FL_DOWN_BOX);
|
box(FL_DOWN_BOX);
|
||||||
selection_color(FL_SELECTION_COLOR);
|
selection_color(FL_SELECTION_COLOR);
|
||||||
type(FL_TOGGLE_BUTTON);
|
type(FL_TOGGLE_BUTTON);
|
||||||
|
// suppress warning on unused private members. I keep these around in case
|
||||||
|
// we decide to activate this API again without changing the ABI.
|
||||||
|
(void)default_shortcut_;
|
||||||
|
(void)default_set_;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user