]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_window.i
Docstring tweaks
[wxWidgets.git] / wxPython / src / _window.i
index e4ec1cbb65d88258320c6d3c6c59f8155efbaa12..9c07523c3e54b42a86c6b86e3626f6bbae8191f0 100644 (file)
@@ -1691,8 +1691,8 @@ wxWindow* wxFindWindowByLabel( const wxString& label,
     wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
 #ifdef __WXMSW__
         wxWindow* win = new wxWindow;
-        win->SetHWND(hWnd);
-        win->SubclassWin(hWnd);
+        win->SetHWND((WXHWND)hWnd);
+        win->SubclassWin((WXHWND)hWnd);
         return win;
 #else
         wxPyRaiseNotImplemented();