]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/gizmos/gizmos.i
Use DrawItemSelectionRect on GTK2 and OS X. Also, use white text when drawing focused...
[wxWidgets.git] / wxPython / contrib / gizmos / gizmos.i
index 65ddbbc35a8d8c7f4323c19c84faff961cd202ce..485613b3854697271e59c91c52ddab803aa7b59b 100644 (file)
@@ -172,6 +172,11 @@ enum {
     wxEL_ALLOW_DELETE,
 };
 
+
+%typemap(out) wxPyListCtrl*
+{ $result = wxPyMake_wxObject((wxObject*)$1, (bool)$owner); }
+
+
 // This class provides a composite control that lets the
 // user easily enter list of strings
 MustHaveApp(wxEditableListBox);
@@ -315,7 +320,7 @@ MustHaveApp(wxPyTreeCompanionWindow);
 class wxPyTreeCompanionWindow: public wxWindow
 {
 public:
-    %pythonAppend wxPyTreeCompanionWindow         "self._setOORInfo(self);self._setCallbackInfo(self, TreeCompanionWindow)"
+    %pythonAppend wxPyTreeCompanionWindow         "self._setOORInfo(self);" setCallbackInfo(TreeCompanionWindow)
     %pythonAppend wxPyTreeCompanionWindow()       ""
 
     wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,