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

@@ -59,7 +59,6 @@ public:
// event handlers
void OnActivate(wxActivateEvent& event);
void OnSysColourChanged(wxSysColourChangedEvent& event);
void OnSize(wxSizeEvent& event);
// Toolbar
#if wxUSE_TOOLBAR
@@ -84,6 +83,8 @@ public:
void PositionBars();
// internal response to size events
virtual void MacOnInternalSize() { PositionBars(); }
protected:
// common part of all ctors