From: Robin Dunn Date: Tue, 9 Apr 2002 20:55:12 +0000 (+0000) Subject: Forgot to set OOR info on wxSplashScreen X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/aacd7bb647b763213a96fad6a0f789fc64eaabf5 Forgot to set OOR info on wxSplashScreen git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/frames.i b/wxPython/src/frames.i index 2e243a7ed2..54f664cb17 100644 --- a/wxPython/src/frames.i +++ b/wxPython/src/frames.i @@ -260,6 +260,8 @@ public: const wxSize& size = wxDefaultSize, long style = wxNO_BORDER); + %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" + void SetBitmap(const wxBitmap& bitmap); wxBitmap& GetBitmap(); }; @@ -273,6 +275,8 @@ public: const wxSize& size = wxDefaultSize, long style = wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT); + %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" + long GetSplashStyle() const; wxSplashScreenWindow* GetSplashWindow() const; int GetTimeout() const; diff --git a/wxPython/src/msw/frames.py b/wxPython/src/msw/frames.py index 0e4465a5da..d2ac054f6a 100644 --- a/wxPython/src/msw/frames.py +++ b/wxPython/src/msw/frames.py @@ -234,6 +234,7 @@ class wxSplashScreenWindow(wxSplashScreenWindowPtr): def __init__(self,*_args,**_kwargs): self.this = apply(framesc.new_wxSplashScreenWindow,_args,_kwargs) self.thisown = 1 + self._setOORInfo(self) @@ -258,6 +259,7 @@ class wxSplashScreen(wxSplashScreenPtr): def __init__(self,*_args,**_kwargs): self.this = apply(framesc.new_wxSplashScreen,_args,_kwargs) self.thisown = 1 + self._setOORInfo(self)