X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e9b78ce36587382786ef10a44be9fa665d15923..94bc8b14d4f74c5bb831b0eca20a45c751fbb5fe:/wxPython/src/frames.i diff --git a/wxPython/src/frames.i b/wxPython/src/frames.i index 2e243a7ed2..25989c93f0 100644 --- a/wxPython/src/frames.i +++ b/wxPython/src/frames.i @@ -166,6 +166,16 @@ public: // forward these to status bar virtual void SetStatusText(const wxString &text, int number = 0); virtual void SetStatusWidths(int LCOUNT, int* choices); // uses typemap + void PushStatusText(const wxString &text, int number = 0); + void PopStatusText(int number = 0); + + // show help text (typically in the statusbar); show is FALSE + // if you are hiding the help, TRUE otherwise + virtual void DoGiveHelp(const wxString& text, bool show); + + // set the status bar pane the help will be shown in + void SetStatusBarPane(int n); + int GetStatusBarPane() const; // create main toolbar @@ -177,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(); }; //--------------------------------------------------------------------------- @@ -260,6 +273,8 @@ public: const wxSize& size = wxDefaultSize, long style = wxNO_BORDER); + %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" + void SetBitmap(const wxBitmap& bitmap); wxBitmap& GetBitmap(); }; @@ -271,7 +286,9 @@ 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)" long GetSplashStyle() const; wxSplashScreenWindow* GetSplashWindow() const;