]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/frame.h
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / osx / frame.h
index 21693f7cfc0b17a92f5a0bebf6f93780da20f8e5..eaea567261999902f4fb3683147bd9ce9cfe2df4 100644 (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