]> git.saurik.com Git - wxWidgets.git/commitdiff
Forgot to set OOR info on wxSplashScreen
authorRobin Dunn <robin@alldunn.com>
Tue, 9 Apr 2002 20:55:12 +0000 (20:55 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 9 Apr 2002 20:55:12 +0000 (20:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/frames.i
wxPython/src/msw/frames.py

index 2e243a7ed2e2aa62e1e745daeebef66f47e51aaf..54f664cb17069b19aa5031887434f22038d14672 100644 (file)
@@ -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;
index 0e4465a5dabf27ee50871ac2e08c8f4032bb959c..d2ac054f6ae78074ff225ba4b09fe893529cff45 100644 (file)
@@ -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)