stop usign a deprecated method, and ensure that the imagelist
ownership is trnasfered when using AssignImageList. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user