Remove functions that are identical with the ones in base classes

This commit is contained in:
Cătălin Răceanu 2019-02-13 01:15:19 +02:00
parent 50edbf24cc
commit 7be9c8c670
2 changed files with 0 additions and 25 deletions

View File

@ -35,7 +35,6 @@ public:
virtual void SetValue(bool state);
virtual bool GetValue() const;
virtual QWidget *GetHandle() const;
private:
wxDECLARE_DYNAMIC_CLASS(wxToggleButton);
@ -65,10 +64,6 @@ public:
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);

View File

@ -86,21 +86,6 @@ bool wxBitmapToggleButton::Create(wxWindow *parent,
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);
@ -147,8 +132,3 @@ bool wxToggleButton::GetValue() const
{
return m_qtPushButton->isChecked();
}
QWidget *wxToggleButton::GetHandle() const
{
return m_qtPushButton;
}