Remove unnecessary empty dtors from the widgets sample
No real changes, just remove completely unnecessary lines and trailing semicolons after them.
This commit is contained in:
@@ -89,7 +89,6 @@ class ButtonWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
ButtonWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~ButtonWidgetsPage(){};
|
||||
|
||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_button; }
|
||||
virtual void RecreateWidget() wxOVERRIDE { CreateButton(); }
|
||||
|
@@ -73,7 +73,6 @@ class CheckBoxWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
CheckBoxWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~CheckBoxWidgetsPage(){};
|
||||
|
||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_checkbox; }
|
||||
virtual void RecreateWidget() wxOVERRIDE { CreateCheckbox(); }
|
||||
|
@@ -63,7 +63,6 @@ class ColourPickerWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
ColourPickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~ColourPickerWidgetsPage(){};
|
||||
|
||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_clrPicker; }
|
||||
virtual void RecreateWidget() wxOVERRIDE { RecreatePicker(); }
|
||||
|
@@ -68,7 +68,6 @@ class DatePickerWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
DatePickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~DatePickerWidgetsPage(){};
|
||||
|
||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_datePicker; }
|
||||
virtual void RecreateWidget() wxOVERRIDE { CreateDatePicker(); }
|
||||
|
@@ -65,7 +65,6 @@ class DirPickerWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
DirPickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~DirPickerWidgetsPage(){};
|
||||
|
||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_dirPicker; }
|
||||
virtual void RecreateWidget() wxOVERRIDE { RecreatePicker(); }
|
||||
|
@@ -72,7 +72,6 @@ class FilePickerWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
FilePickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~FilePickerWidgetsPage(){};
|
||||
|
||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_filePicker; }
|
||||
virtual void RecreateWidget() wxOVERRIDE { RecreatePicker(); }
|
||||
|
@@ -63,7 +63,6 @@ class FontPickerWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
FontPickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~FontPickerWidgetsPage(){};
|
||||
|
||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_fontPicker; }
|
||||
virtual void RecreateWidget() wxOVERRIDE { RecreatePicker(); }
|
||||
|
@@ -83,7 +83,6 @@ class RadioWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
RadioWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~RadioWidgetsPage(){};
|
||||
|
||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_radio; }
|
||||
virtual void RecreateWidget() wxOVERRIDE { CreateRadio(); }
|
||||
|
@@ -94,7 +94,6 @@ class SliderWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
SliderWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~SliderWidgetsPage(){};
|
||||
|
||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_slider; }
|
||||
virtual void RecreateWidget() wxOVERRIDE { CreateSlider(); }
|
||||
|
@@ -84,7 +84,6 @@ class SpinBtnWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
SpinBtnWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~SpinBtnWidgetsPage(){};
|
||||
|
||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_spinbtn; }
|
||||
virtual Widgets GetWidgets() const wxOVERRIDE
|
||||
|
@@ -91,7 +91,6 @@ class StaticWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
StaticWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~StaticWidgetsPage(){};
|
||||
|
||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_statText; }
|
||||
virtual Widgets GetWidgets() const wxOVERRIDE
|
||||
|
@@ -151,7 +151,6 @@ class TextWidgetsPage : public WidgetsPage
|
||||
public:
|
||||
// ctor(s) and dtor
|
||||
TextWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~TextWidgetsPage(){};
|
||||
|
||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_text; }
|
||||
virtual wxTextEntryBase *GetTextEntry() const wxOVERRIDE { return m_text; }
|
||||
|
@@ -64,7 +64,6 @@ class TimePickerWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
TimePickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~TimePickerWidgetsPage(){};
|
||||
|
||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_timePicker; }
|
||||
virtual void RecreateWidget() wxOVERRIDE { CreateTimePicker(); }
|
||||
|
@@ -87,7 +87,6 @@ class ToggleWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
ToggleWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~ToggleWidgetsPage(){};
|
||||
|
||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_toggle; }
|
||||
virtual void RecreateWidget() wxOVERRIDE { CreateToggle(); }
|
||||
|
Reference in New Issue
Block a user