]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed wxWindow_FromHWND so it would compile (still untested)
authorRobin Dunn <robin@alldunn.com>
Wed, 3 Mar 2004 01:57:10 +0000 (01:57 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 3 Mar 2004 01:57:10 +0000 (01:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_window.i

index 7e2a4c8d93e8a05332434ae234f318b575a0ff22..a56135c9620530fd9e273ac36cfa8d9bd31f39e0 100644 (file)
@@ -1690,6 +1690,12 @@ wxWindow* wxFindWindowByLabel( const wxString& label,
 
 
 
+%{
+#ifdef __WXMSW__
+#include <wx/msw/private.h>  // to get wxGetWindowId
+#endif
+%}
+
 %inline %{
     wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
 #ifdef __WXMSW__