Change the order of class declarations only
This commit is contained in:
@@ -12,39 +12,6 @@
|
|||||||
|
|
||||||
extern WXDLLIMPEXP_DATA_CORE(const char) wxCheckBoxNameStr[];
|
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
|
class WXDLLIMPEXP_CORE wxToggleButton : public wxToggleButtonBase
|
||||||
{
|
{
|
||||||
public:
|
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_
|
#endif // _WX_QT_TGLBTN_H_
|
||||||
|
Reference in New Issue
Block a user