X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6670f56440ae9209b3e2e51e06acf3bc5aaf1905..05e0b047d879cdbfade7f2ab346c0acdf3e29f96:/src/os2/popupwin.cpp?ds=inline

diff --git a/src/os2/popupwin.cpp b/src/os2/popupwin.cpp
index 5f80644ce1..346d6c87d4 100644
--- a/src/os2/popupwin.cpp
+++ b/src/os2/popupwin.cpp
@@ -17,10 +17,6 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
-    #pragma implementation "popup.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -28,6 +24,7 @@
 #ifndef WX_PRECOMP
 #endif //WX_PRECOMP
 
+#if wxUSE_POPUPWIN
 #include "wx/popupwin.h"
 
 // ============================================================================
@@ -75,3 +72,4 @@ WXDWORD wxPopupWindow::OS2GetStyle( long lFlags,
 
     return dwStyle;
 } // end of wxPopupWindow::OS2GetStyle
+#endif