From 496959ebbd1344842bb6ed91a3103ffa0a42f246 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Sat, 30 Jul 2005 20:48:49 +0000 Subject: [PATCH] Only compile PopupWindow if corresponding define is set. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/popupwin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/os2/popupwin.cpp b/src/os2/popupwin.cpp index 5f80644ce1..11f6b5d978 100644 --- a/src/os2/popupwin.cpp +++ b/src/os2/popupwin.cpp @@ -28,6 +28,7 @@ #ifndef WX_PRECOMP #endif //WX_PRECOMP +#if wxUSE_POPUPWIN #include "wx/popupwin.h" // ============================================================================ @@ -75,3 +76,4 @@ WXDWORD wxPopupWindow::OS2GetStyle( long lFlags, return dwStyle; } // end of wxPopupWindow::OS2GetStyle +#endif