X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1542ea396a625766c59d683adbb1d613c1344d50..7a50586140785a11f4f6069b01d235ab0fd41711:/wxPython/src/frames.i?ds=sidebyside diff --git a/wxPython/src/frames.i b/wxPython/src/frames.i index 618b661f82..ea407d7766 100644 --- a/wxPython/src/frames.i +++ b/wxPython/src/frames.i @@ -183,7 +183,7 @@ public: // create main toolbar - virtual wxToolBar* CreateToolBar(long style = wxNO_BORDER|wxTB_HORIZONTAL, + virtual wxToolBar* CreateToolBar(long style = -1, //wxNO_BORDER|wxTB_HORIZONTAL, wxWindowID id = -1, const wxString& name = wxPyToolBarNameStr); @@ -194,6 +194,14 @@ public: // sends a size event to the window using its current size -- this has an // effect of refreshing the window layout virtual void SendSizeEvent(); + + + // send wxUpdateUIEvents for all menu items in the menubar, + // or just for menu if non-NULL + void DoMenuUpdates(wxMenu* menu = NULL); + + // do the UI update processing for this window + virtual void UpdateWindowUI(long flags = wxUPDATE_UI_NONE); }; //---------------------------------------------------------------------------