]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/gtk/misc.py
A bit more DnD and clipbrd updates
[wxWidgets.git] / utils / wxPython / src / gtk / misc.py
index 003ff667c8b833c3255ac1636a2a860d86e6e9f2..cfc622abe1bfb053b571178d447db0fe17865954 100644 (file)
@@ -325,6 +325,46 @@ class wxLayoutConstraints(wxLayoutConstraintsPtr):
 
 
 
+class wxAcceleratorEntryPtr :
+    def __init__(self,this):
+        self.this = this
+        self.thisown = 0
+    def Set(self,arg0,arg1,arg2):
+        val = miscc.wxAcceleratorEntry_Set(self.this,arg0,arg1,arg2)
+        return val
+    def GetFlags(self):
+        val = miscc.wxAcceleratorEntry_GetFlags(self.this)
+        return val
+    def GetKeyCode(self):
+        val = miscc.wxAcceleratorEntry_GetKeyCode(self.this)
+        return val
+    def GetCommand(self):
+        val = miscc.wxAcceleratorEntry_GetCommand(self.this)
+        return val
+    def __repr__(self):
+        return "<C wxAcceleratorEntry instance>"
+class wxAcceleratorEntry(wxAcceleratorEntryPtr):
+    def __init__(self,*args) :
+        self.this = apply(miscc.new_wxAcceleratorEntry,()+args)
+        self.thisown = 1
+
+
+
+
+class wxAcceleratorTablePtr :
+    def __init__(self,this):
+        self.this = this
+        self.thisown = 0
+    def __repr__(self):
+        return "<C wxAcceleratorTable instance>"
+class wxAcceleratorTable(wxAcceleratorTablePtr):
+    def __init__(self,arg0) :
+        self.this = miscc.new_wxAcceleratorTable(arg0.this)
+        self.thisown = 1
+
+
+
+
 
 
 #-------------- FUNCTION WRAPPERS ------------------
@@ -432,11 +472,13 @@ wxResourceClear = miscc.wxResourceClear
 def wxResourceCreateBitmap(arg0):
     val = miscc.wxResourceCreateBitmap(arg0)
     val = wxBitmapPtr(val)
+    val.thisown = 1
     return val
 
 def wxResourceCreateIcon(arg0):
     val = miscc.wxResourceCreateIcon(arg0)
     val = wxIconPtr(val)
+    val.thisown = 1
     return val
 
 def wxResourceCreateMenuBar(arg0):