]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/gizmos/gizmos.i
stop usign a deprecated method, and ensure that the imagelist
[wxWidgets.git] / wxPython / contrib / gizmos / gizmos.i
index e677f65e8c6f2946c8ee54fca6f9acf655ebe230..ba673eba1defa162c83accc69fa91ecbaf1066d5 100644 (file)
@@ -553,9 +553,15 @@ public:
     void SetImageList(wxImageList *imageList);
     void SetStateImageList(wxImageList *imageList);
     void SetButtonsImageList(wxImageList *imageList);
+
     void AssignImageList(wxImageList *imageList);
+    %pragma(python) addtomethod = "AssignImageList:_args[0].thisown = 0"
+
     void AssignStateImageList(wxImageList *imageList);
+    %pragma(python) addtomethod = "AssignStateImageList:_args[0].thisown = 0"
+
     void AssignButtonsImageList(wxImageList *imageList);
+    %pragma(python) addtomethod = "AssignButtonsImageList:_args[0].thisown = 0"