X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f4ad68c32f1e2944d7b5788b11d3398b1b07306..36c8c4718a0a3a5caccad927b43237a8fc8feec7:/wxPython/src/_window.i 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__