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:
|
public:
|
||||||
ButtonWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
ButtonWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||||
virtual ~ButtonWidgetsPage(){};
|
|
||||||
|
|
||||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_button; }
|
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_button; }
|
||||||
virtual void RecreateWidget() wxOVERRIDE { CreateButton(); }
|
virtual void RecreateWidget() wxOVERRIDE { CreateButton(); }
|
||||||
|
@@ -73,7 +73,6 @@ class CheckBoxWidgetsPage : public WidgetsPage
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CheckBoxWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
CheckBoxWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||||
virtual ~CheckBoxWidgetsPage(){};
|
|
||||||
|
|
||||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_checkbox; }
|
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_checkbox; }
|
||||||
virtual void RecreateWidget() wxOVERRIDE { CreateCheckbox(); }
|
virtual void RecreateWidget() wxOVERRIDE { CreateCheckbox(); }
|
||||||
|
@@ -63,7 +63,6 @@ class ColourPickerWidgetsPage : public WidgetsPage
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ColourPickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
ColourPickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||||
virtual ~ColourPickerWidgetsPage(){};
|
|
||||||
|
|
||||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_clrPicker; }
|
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_clrPicker; }
|
||||||
virtual void RecreateWidget() wxOVERRIDE { RecreatePicker(); }
|
virtual void RecreateWidget() wxOVERRIDE { RecreatePicker(); }
|
||||||
|
@@ -68,7 +68,6 @@ class DatePickerWidgetsPage : public WidgetsPage
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DatePickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
DatePickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||||
virtual ~DatePickerWidgetsPage(){};
|
|
||||||
|
|
||||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_datePicker; }
|
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_datePicker; }
|
||||||
virtual void RecreateWidget() wxOVERRIDE { CreateDatePicker(); }
|
virtual void RecreateWidget() wxOVERRIDE { CreateDatePicker(); }
|
||||||
|
@@ -65,7 +65,6 @@ class DirPickerWidgetsPage : public WidgetsPage
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DirPickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
DirPickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||||
virtual ~DirPickerWidgetsPage(){};
|
|
||||||
|
|
||||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_dirPicker; }
|
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_dirPicker; }
|
||||||
virtual void RecreateWidget() wxOVERRIDE { RecreatePicker(); }
|
virtual void RecreateWidget() wxOVERRIDE { RecreatePicker(); }
|
||||||
|
@@ -72,7 +72,6 @@ class FilePickerWidgetsPage : public WidgetsPage
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
FilePickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
FilePickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||||
virtual ~FilePickerWidgetsPage(){};
|
|
||||||
|
|
||||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_filePicker; }
|
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_filePicker; }
|
||||||
virtual void RecreateWidget() wxOVERRIDE { RecreatePicker(); }
|
virtual void RecreateWidget() wxOVERRIDE { RecreatePicker(); }
|
||||||
|
@@ -63,7 +63,6 @@ class FontPickerWidgetsPage : public WidgetsPage
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
FontPickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
FontPickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||||
virtual ~FontPickerWidgetsPage(){};
|
|
||||||
|
|
||||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_fontPicker; }
|
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_fontPicker; }
|
||||||
virtual void RecreateWidget() wxOVERRIDE { RecreatePicker(); }
|
virtual void RecreateWidget() wxOVERRIDE { RecreatePicker(); }
|
||||||
|
@@ -83,7 +83,6 @@ class RadioWidgetsPage : public WidgetsPage
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
RadioWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
RadioWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||||
virtual ~RadioWidgetsPage(){};
|
|
||||||
|
|
||||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_radio; }
|
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_radio; }
|
||||||
virtual void RecreateWidget() wxOVERRIDE { CreateRadio(); }
|
virtual void RecreateWidget() wxOVERRIDE { CreateRadio(); }
|
||||||
|
@@ -94,7 +94,6 @@ class SliderWidgetsPage : public WidgetsPage
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SliderWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
SliderWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||||
virtual ~SliderWidgetsPage(){};
|
|
||||||
|
|
||||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_slider; }
|
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_slider; }
|
||||||
virtual void RecreateWidget() wxOVERRIDE { CreateSlider(); }
|
virtual void RecreateWidget() wxOVERRIDE { CreateSlider(); }
|
||||||
|
@@ -84,7 +84,6 @@ class SpinBtnWidgetsPage : public WidgetsPage
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SpinBtnWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
SpinBtnWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||||
virtual ~SpinBtnWidgetsPage(){};
|
|
||||||
|
|
||||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_spinbtn; }
|
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_spinbtn; }
|
||||||
virtual Widgets GetWidgets() const wxOVERRIDE
|
virtual Widgets GetWidgets() const wxOVERRIDE
|
||||||
|
@@ -91,7 +91,6 @@ class StaticWidgetsPage : public WidgetsPage
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
StaticWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
StaticWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||||
virtual ~StaticWidgetsPage(){};
|
|
||||||
|
|
||||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_statText; }
|
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_statText; }
|
||||||
virtual Widgets GetWidgets() const wxOVERRIDE
|
virtual Widgets GetWidgets() const wxOVERRIDE
|
||||||
|
@@ -151,7 +151,6 @@ class TextWidgetsPage : public WidgetsPage
|
|||||||
public:
|
public:
|
||||||
// ctor(s) and dtor
|
// ctor(s) and dtor
|
||||||
TextWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
TextWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||||
virtual ~TextWidgetsPage(){};
|
|
||||||
|
|
||||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_text; }
|
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_text; }
|
||||||
virtual wxTextEntryBase *GetTextEntry() const wxOVERRIDE { return m_text; }
|
virtual wxTextEntryBase *GetTextEntry() const wxOVERRIDE { return m_text; }
|
||||||
|
@@ -64,7 +64,6 @@ class TimePickerWidgetsPage : public WidgetsPage
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
TimePickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
TimePickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||||
virtual ~TimePickerWidgetsPage(){};
|
|
||||||
|
|
||||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_timePicker; }
|
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_timePicker; }
|
||||||
virtual void RecreateWidget() wxOVERRIDE { CreateTimePicker(); }
|
virtual void RecreateWidget() wxOVERRIDE { CreateTimePicker(); }
|
||||||
|
@@ -87,7 +87,6 @@ class ToggleWidgetsPage : public WidgetsPage
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ToggleWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
ToggleWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||||
virtual ~ToggleWidgetsPage(){};
|
|
||||||
|
|
||||||
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_toggle; }
|
virtual wxWindow *GetWidget() const wxOVERRIDE { return m_toggle; }
|
||||||
virtual void RecreateWidget() wxOVERRIDE { CreateToggle(); }
|
virtual void RecreateWidget() wxOVERRIDE { CreateToggle(); }
|
||||||
|
Reference in New Issue
Block a user