]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_bitmap.i
Trim trailing spaces from key names when parsing
[wxWidgets.git] / wxPython / src / _bitmap.i
index 0dbb88f169f4544e8cc3f2b1b31ab175f3c62c0b..a5b032d961367e859be5aa9219982735b08b6207 100644 (file)
@@ -110,7 +110,9 @@ public:
     // wxGDIImage methods
 #ifdef __WXMSW__
     long GetHandle();
-    void SetHandle(long handle);
+    %extend {
+        void SetHandle(long handle) { self->SetHandle((WXHANDLE)handle); }
+    }
 #endif
 
     bool Ok();