From e1a23b2d8930df7b15e0ffb3d926c7d457f7ece8 Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Sun, 16 Nov 2003 20:43:06 +0000 Subject: [PATCH] Fixed wxMSW compilation with wxUSE_POPUPWIN = 0. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/popupwin.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/msw/popupwin.cpp b/src/msw/popupwin.cpp index 8469ea701d..9f79fe8f8f 100644 --- a/src/msw/popupwin.cpp +++ b/src/msw/popupwin.cpp @@ -29,8 +29,11 @@ #endif #ifndef WX_PRECOMP +#include "wx/wx.h" #endif //WX_PRECOMP +#if wxUSE_POPUPWIN + #include "wx/popupwin.h" #include "wx/msw/private.h" // for GetDesktopWindow() @@ -85,3 +88,5 @@ WXHWND wxPopupWindow::MSWGetParent() const return (WXHWND)::GetDesktopWindow(); } +#endif // #if wxUSE_POPUPWIN +