From: Vadim Zeitlin Date: Wed, 26 Nov 2008 11:50:57 +0000 (+0000) Subject: include wx/msw/private.h to fix PCH-less compilation X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ac52d2b0fc5d688fd882c54a60592c9c9ce61a29 include wx/msw/private.h to fix PCH-less compilation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/popupcmn.cpp b/src/common/popupcmn.cpp index 98eb20b873..9347bd3432 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)