From: Robin Dunn Date: Wed, 3 Mar 2004 01:57:10 +0000 (+0000) Subject: Fixed wxWindow_FromHWND so it would compile (still untested) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/96577d6d7a96c2b925cd7bcfb5695e1e154cdd3c Fixed wxWindow_FromHWND so it would compile (still untested) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_window.i b/wxPython/src/_window.i index 7e2a4c8d93..a56135c962 100644 --- a/wxPython/src/_window.i +++ b/wxPython/src/_window.i @@ -1690,6 +1690,12 @@ wxWindow* wxFindWindowByLabel( const wxString& label, +%{ +#ifdef __WXMSW__ +#include // to get wxGetWindowId +#endif +%} + %inline %{ wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) { #ifdef __WXMSW__