Added MacInternalOnSize() to allow windows to resize themselves independently of size events

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2012-03-01 15:04:42 +00:00
parent f8497215c1
commit 6062fe5c9e
7 changed files with 16 additions and 10 deletions

View 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()
{