]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/windows3.i
implemented late(r) initialization of wxUniv themes
[wxWidgets.git] / wxPython / src / windows3.i
index 8dbb317db0b09efbbfc80c0fd966cce873fdfdb5..15dddb012f804acfda0c98adc71dd805c75cfa82 100644 (file)
@@ -16,7 +16,9 @@
 #include "helpers.h"
 #include <wx/sashwin.h>
 #include <wx/laywin.h>
+#ifndef __WXMAC__
 #include <wx/popupwin.h>
+#endif
 %}
 
 //----------------------------------------------------------------------
@@ -90,7 +92,7 @@ public:
                  const char* name = "sashWindow");
 
     %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
-    %pragma(python) addtomethod = "wxPreSashWindow:val._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreSashWindow:val._setOORInfo(val)"
 
     bool GetSashVisible(wxSashEdgePosition edge);
     int GetDefaultBorderSize();
@@ -180,7 +182,7 @@ public:
                 const char* name = "layoutWindow");
 
     %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
-    %pragma(python) addtomethod = "wxPreSashLayoutWindow:val._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreSashLayoutWindow:val._setOORInfo(val)"
 
     wxLayoutAlignment GetAlignment();
     wxLayoutOrientation GetOrientation();
@@ -203,6 +205,7 @@ public:
 
 
 //---------------------------------------------------------------------------
+#ifndef __WXMAC__
 
 // wxPopupWindow: a special kind of top level window used for popup menus,
 // combobox popups and such.
@@ -212,7 +215,7 @@ public:
     %name(wxPrePopupWindow)wxPopupWindow();
 
     %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
-    %pragma(python) addtomethod = "wxPrePopupWindow:val._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPrePopupWindow:val._setOORInfo(val)"
 
     bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
 
@@ -251,7 +254,7 @@ public:
     %pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxPopupTransientWindow)"
 
     %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
-    %pragma(python) addtomethod = "wxPrePopupTransientWindow:val._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPrePopupTransientWindow:val._setOORInfo(val)"
 
     // popup the window (this will show it too) and keep focus at winFocus
     // (or itself if it's NULL), dismiss the popup if we lose focus
@@ -261,5 +264,6 @@ public:
     virtual void Dismiss();
 };
 
+#endif
 //---------------------------------------------------------------------------