X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fded56b375bf7a4687af1cdb182899614c1b2a8..96fcf4d86cbdbe5aff4bd620b6ba464568889778:/wxPython/contrib/gizmos/gizmos.i diff --git a/wxPython/contrib/gizmos/gizmos.i b/wxPython/contrib/gizmos/gizmos.i index e677f65e8c..e6108c0789 100644 --- a/wxPython/contrib/gizmos/gizmos.i +++ b/wxPython/contrib/gizmos/gizmos.i @@ -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" @@ -919,9 +925,6 @@ public: %init %{ - wxClassInfo::CleanUpClasses(); - wxClassInfo::InitializeClasses(); - wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow"); wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl"); %}