]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/statbar/statbar.cpp
Fixed HitTest for columns > 1
[wxWidgets.git] / samples / statbar / statbar.cpp
index c6c1ddb2be0b65e3c661a173df7b7cc4c72782ea..e98da938a3ce690dcf48ed6999bdf3397ab06a83 100644 (file)
@@ -492,7 +492,6 @@ MyAboutDialog::MyAboutDialog(wxWindow *parent)
     sizerTop->Add(-1, 10, 1, wxGROW);
     sizerTop->Add(statbarBottom, 0, wxGROW);
 
-    SetAutoLayout(true);
     SetSizer(sizerTop);
 
     sizerTop->Fit(this);
@@ -620,7 +619,7 @@ void MyStatusBar::DoToggle()
         m_statbmp->Refresh();
 #endif
 
-        SetStatusText(_T(""), Field_Clock);
+        SetStatusText(wxEmptyString, Field_Clock);
     }
 }