--- wxPython-src-3.0.1.1/wxPython/src/helpers.cpp.orig 2014-09-30 15:35:54.001641700 +0400 +++ wxPython-src-3.0.1.1/wxPython/src/helpers.cpp 2014-09-30 15:40:54.393928800 +0400 @@ -2152,7 +2152,7 @@ long wxPyGetWinHandle(wxWindow* win) { #ifdef __WXMSW__ - return (long)win->GetHandle(); + return (intptr_t)win->GetHandle(); #endif #if defined(__WXGTK__) || defined(__WXX11__)