X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f87da7220560e2f1a57e4e291cc75341f0ff1abe..13baae2c95ae2e0eb01736b7d1fac6be4a2e6a3f:/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();