]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/msw/stattool.py
minimal now works in Unicode mode
[wxWidgets.git] / utils / wxPython / src / msw / stattool.py
index f16438105e3087a3a7b265dff78c9f8cf6b55749..364ce8dda22c36cc41f652996e5f5556db33eb0e 100644 (file)
@@ -10,6 +10,7 @@ from gdi import *
 from controls import *
 
 from events import *
+import wx
 class wxStatusBarPtr(wxWindowPtr):
     def __init__(self,this):
         self.this = this
@@ -55,7 +56,7 @@ class wxStatusBar(wxStatusBarPtr):
         args = tuple(argl)
         self.this = apply(stattoolc.new_wxStatusBar,(arg0.this,arg1,)+args)
         self.thisown = 1
-        wxp._StdWindowCallbacks(self)
+        wx._StdWindowCallbacks(self)
 
 
 
@@ -185,6 +186,10 @@ class wxToolBarPtr(wxControlPtr):
         val = apply(stattoolc.wxToolBar_AddTool,(self.this,arg0,arg1.this,)+args)
         val = wxToolBarToolPtr(val)
         return val
+    def AddSimpleTool(self,arg0,arg1,*args):
+        val = apply(stattoolc.wxToolBar_AddSimpleTool,(self.this,arg0,arg1.this,)+args)
+        val = wxToolBarToolPtr(val)
+        return val
     def EnableTool(self,arg0,arg1):
         val = stattoolc.wxToolBar_EnableTool(self.this,arg0,arg1)
         return val
@@ -202,6 +207,9 @@ class wxToolBarPtr(wxControlPtr):
         val = wxSizePtr(val)
         val.thisown = 1
         return val
+    def SetToolBitmapSize(self,arg0):
+        val = stattoolc.wxToolBar_SetToolBitmapSize(self.this,arg0.this)
+        return val
     def GetMaxSize(self):
         val = stattoolc.wxToolBar_GetMaxSize(self.this)
         val = wxSizePtr(val)
@@ -228,9 +236,6 @@ class wxToolBarPtr(wxControlPtr):
     def Realize(self):
         val = stattoolc.wxToolBar_Realize(self.this)
         return val
-    def SetToolBitmapSize(self,arg0):
-        val = stattoolc.wxToolBar_SetToolBitmapSize(self.this,arg0.this)
-        return val
     def SetToolLongHelp(self,arg0,arg1):
         val = stattoolc.wxToolBar_SetToolLongHelp(self.this,arg0,arg1)
         return val
@@ -261,7 +266,7 @@ class wxToolBar(wxToolBarPtr):
         args = tuple(argl)
         self.this = apply(stattoolc.new_wxToolBar,(arg0.this,arg1,)+args)
         self.thisown = 1
-        wxp._StdWindowCallbacks(self)
+        wx._StdWindowCallbacks(self)