X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f87da7220560e2f1a57e4e291cc75341f0ff1abe..9176f38f730c3415ac7a911c2f85cdea7eca4478:/wxPython/src/_icon.i diff --git a/wxPython/src/_icon.i b/wxPython/src/_icon.i index cfcdd02a39..6a69d79f41 100644 --- a/wxPython/src/_icon.i +++ b/wxPython/src/_icon.i @@ -57,7 +57,9 @@ public: // wxGDIImage methods #ifdef __WXMSW__ long GetHandle(); - void SetHandle(long handle); + %extend { + void SetHandle(long handle) { self->SetHandle((WXHANDLE)handle); } + } #endif bool Ok(); int GetWidth();