]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/frame.cpp
If there is a sizer then use it's calculated minimum in wxStaticBox::DoGetBestSize
[wxWidgets.git] / src / osx / carbon / frame.cpp
index e7c53a27aa149c341f1771adda73b4985fbb7f8f..2c9e0f39264e072dda82723fa3612448f1754fa4 100644 (file)
@@ -29,7 +29,6 @@
 BEGIN_EVENT_TABLE(wxFrame, wxFrameBase)
   EVT_ACTIVATE(wxFrame::OnActivate)
   EVT_SYS_COLOUR_CHANGED(wxFrame::OnSysColourChanged)
-  EVT_SIZE(wxFrame::OnSize)
 END_EVENT_TABLE()
 
 #define WX_MAC_STATUSBAR_HEIGHT 18
@@ -216,14 +215,6 @@ void wxFrame::OnActivate(wxActivateEvent& event)
     }
 }
 
-
-void wxFrame::OnSize(wxSizeEvent& event)
-{
-    PositionBars();
-    
-    event.Skip();
-}
-
 #if wxUSE_MENUS
 void wxFrame::DetachMenuBar()
 {