]> git.saurik.com Git - wxWidgets.git/commitdiff
Only compile PopupWindow if corresponding define is set.
authorStefan Neis <Stefan.Neis@t-online.de>
Sat, 30 Jul 2005 20:48:49 +0000 (20:48 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sat, 30 Jul 2005 20:48:49 +0000 (20:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/popupwin.cpp

index 5f80644ce166e8c8be30cbddfbfd518ad3675950..11f6b5d978abcebe93fcfe742900903a9248d34b 100644 (file)
@@ -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