#868: Suppress warning about unused private members of Fl_Shortcut_Button

This commit is contained in:
Matthias Melcher 2023-12-16 14:07:03 +01:00
parent bdbd3497d4
commit ca028872e7

View File

@ -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);
selection_color(FL_SELECTION_COLOR);
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_;
}
/**