]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/statbar/statbar.cpp
Update the field widths on demand in wxStatusBarGeneric.
[wxWidgets.git] / samples / statbar / statbar.cpp
index e053fe164275faeef39e383c156a10e4a73239ec..7ea8202d8e62b69ec39e5365450cac5711286820 100644 (file)
@@ -947,11 +947,6 @@ 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))
     {