Rename Qt-specific GetEventType() to start with "Qt" prefix
This avoids conflicts with another method with the same name defined in generic wxGenericFileDirButton, which must neither override nor hide this method of wxButton.
This commit is contained in:
@@ -36,7 +36,7 @@ public:
|
||||
virtual bool GetValue() const wxOVERRIDE;
|
||||
|
||||
// implementation only
|
||||
virtual int GetEventType() const wxOVERRIDE { return wxEVT_TOGGLEBUTTON; }
|
||||
virtual int QtGetEventType() const wxOVERRIDE { return wxEVT_TOGGLEBUTTON; }
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxToggleButton);
|
||||
|
Reference in New Issue
Block a user