Reuse Qt implementation of normal button for toggle buttons

This commit is contained in:
Cătălin Răceanu
2019-02-13 01:23:20 +02:00
parent 7be9c8c670
commit be9c18cbd6
5 changed files with 29 additions and 35 deletions

View File

@@ -31,6 +31,9 @@ public:
virtual wxWindow *SetDefault();
// implementation only
virtual int GetEventType() const wxOVERRIDE { return wxEVT_BUTTON; }
private:
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxButton);
};