From 19b39f4e54da3e8706637f0ded8707176d91de76 Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Wed, 26 Nov 2008 15:31:18 +0000 Subject: [PATCH] include wx/msw/private.h to fix PCH-less compilation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/popupcmn.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/common/popupcmn.cpp b/src/common/popupcmn.cpp index 29b4fe5f1b..eb86b78c47 100644 --- a/src/common/popupcmn.cpp +++ b/src/common/popupcmn.cpp @@ -43,9 +43,10 @@ #ifdef __WXGTK__ #include -#endif -#ifdef __WXX11__ -#include "wx/x11/private.h" +#elif defined(__WXMSW__) + #include "wx/msw/private.h" +#elif defined(__WXX11__) + #include "wx/x11/private.h" #endif IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow)