X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2bbfc8f053e48dc198bafe193d360e83605ebd6..15afbcd0007feb619021a60e4e53515b63399392:/wxPython/src/_window.i diff --git a/wxPython/src/_window.i b/wxPython/src/_window.i index e4ec1cbb65..9c07523c3e 100644 --- a/wxPython/src/_window.i +++ b/wxPython/src/_window.i @@ -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();