X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94e36a5196e52314b56c1b4d29bae0d02519af55..bffe56c5d19df9926686722fc09ad096afb47633:/wxPython/src/frames.i diff --git a/wxPython/src/frames.i b/wxPython/src/frames.i index 465699722e..25989c93f0 100644 --- a/wxPython/src/frames.i +++ b/wxPython/src/frames.i @@ -187,6 +187,9 @@ public: virtual wxToolBar *GetToolBar() const { return m_frameToolBar; } virtual void SetToolBar(wxToolBar *toolbar) { m_frameToolBar = toolbar; } + // sends a size event to the window using its current size -- this has an + // effect of refreshing the window layout + virtual void SendSizeEvent(); }; //--------------------------------------------------------------------------- @@ -283,7 +286,7 @@ public: wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT); + long style = wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP); %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"