]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/stattool.py
use generic timer in wxMGL and wxX11
[wxWidgets.git] / wxPython / src / gtk / stattool.py
index b16541246ce1928c1df5104a23805bfa9a573906..59f27eec6bfc44fe31bf3c09fb41a09bf3ab2c5e 100644 (file)
@@ -61,7 +61,7 @@ class wxStatusBar(wxStatusBarPtr):
 def wxPreStatusBar(*_args,**_kwargs):
     val = wxStatusBarPtr(apply(stattoolc.new_wxPreStatusBar,_args,_kwargs))
     val.thisown = 1
-    val._setOORInfo(self)
+    val._setOORInfo(val)
     return val
 
 
@@ -104,15 +104,15 @@ class wxToolBarToolBasePtr(wxObjectPtr):
         return val
     def GetBitmap1(self, *_args, **_kwargs):
         val = apply(stattoolc.wxToolBarToolBase_GetBitmap1,(self,) + _args, _kwargs)
-        if val: val = wxBitmapPtr(val) 
+        if val: val = wxBitmapPtr(val) ; val.thisown = 1
         return val
     def GetBitmap2(self, *_args, **_kwargs):
         val = apply(stattoolc.wxToolBarToolBase_GetBitmap2,(self,) + _args, _kwargs)
-        if val: val = wxBitmapPtr(val) 
+        if val: val = wxBitmapPtr(val) ; val.thisown = 1
         return val
     def GetBitmap(self, *_args, **_kwargs):
         val = apply(stattoolc.wxToolBarToolBase_GetBitmap,(self,) + _args, _kwargs)
-        if val: val = wxBitmapPtr(val) 
+        if val: val = wxBitmapPtr(val) ; val.thisown = 1
         return val
     def GetShortHelp(self, *_args, **_kwargs):
         val = apply(stattoolc.wxToolBarToolBase_GetShortHelp,(self,) + _args, _kwargs)
@@ -319,7 +319,7 @@ class wxToolBar(wxToolBarPtr):
 def wxPreToolBar(*_args,**_kwargs):
     val = wxToolBarPtr(apply(stattoolc.new_wxPreToolBar,_args,_kwargs))
     val.thisown = 1
-    val._setOORInfo(self)
+    val._setOORInfo(val)
     return val
 
 
@@ -346,7 +346,7 @@ class wxToolBarSimple(wxToolBarSimplePtr):
 def wxPreToolBarSimple(*_args,**_kwargs):
     val = wxToolBarSimplePtr(apply(stattoolc.new_wxPreToolBarSimple,_args,_kwargs))
     val.thisown = 1
-    val._setOORInfo(self)
+    val._setOORInfo(val)
     return val