X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f87da7220560e2f1a57e4e291cc75341f0ff1abe..5444f3a9445fe30633aef827154ed57656273a35:/wxPython/src/_icon.i?ds=sidebyside 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();