]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/button.cpp
wxMax instead of max, former is always around
[wxWidgets.git] / samples / widgets / button.cpp
index 2f1b3c721ab442b64c8ec258eeddd30a5ae82362..ebe6d458878e6053d6b75a84bd44eebfcf317907 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Program:     wxWindows Widgets Sample
+// Program:     wxWidgets Widgets Sample
 // Name:        button.cpp
 // Purpose:     Part of the widgets sample showing wxButton
 // Author:      Vadim Zeitlin
@@ -78,7 +78,7 @@ class ButtonWidgetsPage : public WidgetsPage
 {
 public:
     ButtonWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
-    virtual ~ButtonWidgetsPage();
+    virtual ~ButtonWidgetsPage(){};
 
 protected:
     // event handlers
@@ -105,7 +105,7 @@ protected:
     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;
 
@@ -168,7 +168,7 @@ ButtonWidgetsPage::ButtonWidgetsPage(wxNotebook *notebook,
     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
 
@@ -237,10 +237,6 @@ ButtonWidgetsPage::ButtonWidgetsPage(wxNotebook *notebook,
     sizerTop->Fit(this);
 }
 
-ButtonWidgetsPage::~ButtonWidgetsPage()
-{
-}
-
 // ----------------------------------------------------------------------------
 // operations
 // ----------------------------------------------------------------------------