Remove functions that are identical with the ones in base classes
This commit is contained in:
parent
50edbf24cc
commit
7be9c8c670
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user