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:
@@ -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
|
||||
|
Reference in New Issue
Block a user