From: Stefan Neis Date: Sat, 30 Jul 2005 20:48:49 +0000 (+0000) Subject: Only compile PopupWindow if corresponding define is set. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/496959ebbd1344842bb6ed91a3103ffa0a42f246 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 --- 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