/////////////////////////////////////////////////////////////////////////////
-// Program: wxWindows Widgets Sample
+// Program: wxWidgets Widgets Sample
// Name: button.cpp
// Purpose: Part of the widgets sample showing wxButton
// Author: Vadim Zeitlin
{
public:
ButtonWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
- virtual ~ButtonWidgetsPage();
+ virtual ~ButtonWidgetsPage(){};
protected:
// event handlers
wxRadioBox *m_radioHAlign,
*m_radioVAlign;
- // the gauge itself and the sizer it is in
+ // the button itself and the sizer it is in
wxButton *m_button;
wxSizer *m_sizerButton;
m_chkDefault = CreateCheckBoxAndAddToSizer(sizerLeft, _T("&Default"));
#ifndef __WXUNIVERSAL__
- // only wxUniv currently supoprts buttons with images
+ // only wxUniv currently supports buttons with images
m_chkImage->Disable();
#endif // !wxUniv
sizerTop->Fit(this);
}
-ButtonWidgetsPage::~ButtonWidgetsPage()
-{
-}
-
// ----------------------------------------------------------------------------
// operations
// ----------------------------------------------------------------------------