Remove functions that are identical with the ones in base classes
This commit is contained in:
@@ -35,7 +35,6 @@ public:
|
|||||||
virtual void SetValue(bool state);
|
virtual void SetValue(bool state);
|
||||||
virtual bool GetValue() const;
|
virtual bool GetValue() const;
|
||||||
|
|
||||||
virtual QWidget *GetHandle() const;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
wxDECLARE_DYNAMIC_CLASS(wxToggleButton);
|
wxDECLARE_DYNAMIC_CLASS(wxToggleButton);
|
||||||
@@ -65,10 +64,6 @@ public:
|
|||||||
const wxValidator& validator = wxDefaultValidator,
|
const wxValidator& validator = wxDefaultValidator,
|
||||||
const wxString& name = wxCheckBoxNameStr);
|
const wxString& name = wxCheckBoxNameStr);
|
||||||
|
|
||||||
virtual void SetValue(bool state);
|
|
||||||
virtual bool GetValue() const;
|
|
||||||
|
|
||||||
virtual QWidget *GetHandle() const;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
wxDECLARE_DYNAMIC_CLASS(wxBitmapToggleButton);
|
wxDECLARE_DYNAMIC_CLASS(wxBitmapToggleButton);
|
||||||
|
@@ -86,21 +86,6 @@ bool wxBitmapToggleButton::Create(wxWindow *parent,
|
|||||||
return QtCreateControl( parent, id, pos, size, style, validator, name );
|
return QtCreateControl( parent, id, pos, size, style, validator, name );
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxBitmapToggleButton::SetValue(bool state)
|
|
||||||
{
|
|
||||||
m_qtPushButton->setChecked( state );
|
|
||||||
}
|
|
||||||
|
|
||||||
bool wxBitmapToggleButton::GetValue() const
|
|
||||||
{
|
|
||||||
return m_qtPushButton->isChecked();
|
|
||||||
}
|
|
||||||
|
|
||||||
QWidget *wxBitmapToggleButton::GetHandle() const
|
|
||||||
{
|
|
||||||
return m_qtPushButton;
|
|
||||||
}
|
|
||||||
|
|
||||||
//##############################################################################
|
//##############################################################################
|
||||||
|
|
||||||
wxIMPLEMENT_DYNAMIC_CLASS(wxToggleButton, wxControl);
|
wxIMPLEMENT_DYNAMIC_CLASS(wxToggleButton, wxControl);
|
||||||
@@ -147,8 +132,3 @@ bool wxToggleButton::GetValue() const
|
|||||||
{
|
{
|
||||||
return m_qtPushButton->isChecked();
|
return m_qtPushButton->isChecked();
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget *wxToggleButton::GetHandle() const
|
|
||||||
{
|
|
||||||
return m_qtPushButton;
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user