]> git.saurik.com Git - wxWidgets.git/commitdiff
commit temporary fix for the sample for 2.9.0 release
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Thu, 19 Mar 2009 01:37:11 +0000 (01:37 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Thu, 19 Mar 2009 01:37:11 +0000 (01:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/statbar/statbar.cpp

index 1c5c0a008be3e80b07fb1c1ad13de62640fe3a50..042bfc645a43b892790923d43b3b8ad32c1e1d55 100644 (file)
@@ -740,6 +740,11 @@ void MyStatusBar::OnSize(wxSizeEvent& event)
         return;
 #endif
 
+    // TEMPORARY HACK: TODO find a more general solution
+#ifdef wxStatusBarGeneric
+    wxStatusBar::OnSize(event);
+#endif
+
     wxRect rect;
     if (!GetFieldRect(Field_Checkbox, rect))
     {