From 193cf3fee973da0a248b13d597e7f9a3593108ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C4=83t=C4=83lin=20R=C4=83ceanu?= Date: Wed, 13 Feb 2019 00:55:00 +0200 Subject: [PATCH] Change the order of class declarations only --- include/wx/qt/tglbtn.h | 66 +++++++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/include/wx/qt/tglbtn.h b/include/wx/qt/tglbtn.h index 4b20ac2f75..2ac87910e1 100644 --- a/include/wx/qt/tglbtn.h +++ b/include/wx/qt/tglbtn.h @@ -12,39 +12,6 @@ extern WXDLLIMPEXP_DATA_CORE(const char) wxCheckBoxNameStr[]; -class WXDLLIMPEXP_CORE wxBitmapToggleButton: public wxToggleButtonBase -{ -public: - wxBitmapToggleButton(); - wxBitmapToggleButton(wxWindow *parent, - wxWindowID id, - const wxBitmap& label, - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = 0, - const wxValidator& validator = wxDefaultValidator, - const wxString& name = wxCheckBoxNameStr); - - bool Create(wxWindow *parent, - wxWindowID id, - const wxBitmap& label, - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, long style = 0, - const wxValidator& validator = wxDefaultValidator, - const wxString& name = wxCheckBoxNameStr); - - virtual void SetValue(bool state); - virtual bool GetValue() const; - - virtual QWidget *GetHandle() const; - -private: - wxDECLARE_DYNAMIC_CLASS(wxBitmapToggleButton); - -}; - - - class WXDLLIMPEXP_CORE wxToggleButton : public wxToggleButtonBase { public: @@ -76,4 +43,37 @@ private: }; + + +class WXDLLIMPEXP_CORE wxBitmapToggleButton: public wxToggleButtonBase +{ +public: + wxBitmapToggleButton(); + wxBitmapToggleButton(wxWindow *parent, + wxWindowID id, + const wxBitmap& label, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxCheckBoxNameStr); + + bool Create(wxWindow *parent, + wxWindowID id, + const wxBitmap& label, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxCheckBoxNameStr); + + virtual void SetValue(bool state); + virtual bool GetValue() const; + + virtual QWidget *GetHandle() const; + +private: + wxDECLARE_DYNAMIC_CLASS(wxBitmapToggleButton); + +}; + #endif // _WX_QT_TGLBTN_H_