]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/windows3.py
Added XRCed to the wxPython Tools directory, contributed by Roman
[wxWidgets.git] / wxPython / src / gtk / windows3.py
index dca7c4840513c95c594e692eba89dc3e486e18ee..5a5bec634e0f33d290beff930ed0b993892b1a13 100644 (file)
@@ -47,8 +47,9 @@ class wxSashEventPtr(wxCommandEventPtr):
     def __repr__(self):
         return "<C wxSashEvent instance at %s>" % (self.this,)
 class wxSashEvent(wxSashEventPtr):
-    def __init__(self,this):
-        self.this = this
+    def __init__(self,*_args,**_kwargs):
+        self.this = apply(windows3c.new_wxSashEvent,_args,_kwargs)
+        self.thisown = 1
 
 
 
@@ -57,6 +58,9 @@ class wxSashWindowPtr(wxWindowPtr):
     def __init__(self,this):
         self.this = this
         self.thisown = 0
+    def Create(self, *_args, **_kwargs):
+        val = apply(windows3c.wxSashWindow_Create,(self,) + _args, _kwargs)
+        return val
     def GetSashVisible(self, *_args, **_kwargs):
         val = apply(windows3c.wxSashWindow_GetSashVisible,(self,) + _args, _kwargs)
         return val
@@ -114,10 +118,14 @@ class wxSashWindow(wxSashWindowPtr):
     def __init__(self,*_args,**_kwargs):
         self.this = apply(windows3c.new_wxSashWindow,_args,_kwargs)
         self.thisown = 1
-        #wx._StdWindowCallbacks(self)
 
 
 
+def wxPreSashWindow(*_args,**_kwargs):
+    val = wxSashWindowPtr(apply(windows3c.new_wxPreSashWindow,_args,_kwargs))
+    val.thisown = 1
+    return val
+
 
 class wxQueryLayoutInfoEventPtr(wxEventPtr):
     def __init__(self,this):
@@ -157,8 +165,9 @@ class wxQueryLayoutInfoEventPtr(wxEventPtr):
     def __repr__(self):
         return "<C wxQueryLayoutInfoEvent instance at %s>" % (self.this,)
 class wxQueryLayoutInfoEvent(wxQueryLayoutInfoEventPtr):
-    def __init__(self,this):
-        self.this = this
+    def __init__(self,*_args,**_kwargs):
+        self.this = apply(windows3c.new_wxQueryLayoutInfoEvent,_args,_kwargs)
+        self.thisown = 1
 
 
 
@@ -183,8 +192,9 @@ class wxCalculateLayoutEventPtr(wxEventPtr):
     def __repr__(self):
         return "<C wxCalculateLayoutEvent instance at %s>" % (self.this,)
 class wxCalculateLayoutEvent(wxCalculateLayoutEventPtr):
-    def __init__(self,this):
-        self.this = this
+    def __init__(self,*_args,**_kwargs):
+        self.this = apply(windows3c.new_wxCalculateLayoutEvent,_args,_kwargs)
+        self.thisown = 1
 
 
 
@@ -193,6 +203,9 @@ class wxSashLayoutWindowPtr(wxSashWindowPtr):
     def __init__(self,this):
         self.this = this
         self.thisown = 0
+    def Create(self, *_args, **_kwargs):
+        val = apply(windows3c.wxSashLayoutWindow_Create,(self,) + _args, _kwargs)
+        return val
     def GetAlignment(self, *_args, **_kwargs):
         val = apply(windows3c.wxSashLayoutWindow_GetAlignment,(self,) + _args, _kwargs)
         return val
@@ -214,12 +227,14 @@ class wxSashLayoutWindow(wxSashLayoutWindowPtr):
     def __init__(self,*_args,**_kwargs):
         self.this = apply(windows3c.new_wxSashLayoutWindow,_args,_kwargs)
         self.thisown = 1
-        #wx._StdWindowCallbacks(self)
-        #wx._checkForCallback(self, 'OnCalculateLayout',    wxEVT_CALCULATE_LAYOUT)
-        #wx._checkForCallback(self, 'OnQueryLayoutInfo',    wxEVT_QUERY_LAYOUT_INFO)
 
 
 
+def wxPreSashLayoutWindow(*_args,**_kwargs):
+    val = wxSashLayoutWindowPtr(apply(windows3c.new_wxPreSashLayoutWindow,_args,_kwargs))
+    val.thisown = 1
+    return val
+
 
 class wxLayoutAlgorithmPtr(wxObjectPtr):
     def __init__(self,this):