]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/popupwin.cpp
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / palmos / popupwin.cpp
index e3d744bb366bcc28a759dd37caa59a8fcaeb5e25..009f37eaa5578a83d0923ec40aeac63f9656cecc 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "popup.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
     #pragma hdrstop
 #endif
 
+#if wxUSE_POPUPWIN
+
 #ifndef WX_PRECOMP
-#include "wx/defs.h"
 #endif //WX_PRECOMP
 
-#if wxUSE_POPUPWIN
-
 #include "wx/popupwin.h"
 
 #include "wx/palmos/private.h"     // for GetDesktopWindow()
@@ -69,4 +64,3 @@ bool wxPopupWindow::Show(bool show)
 }
 
 #endif // #if wxUSE_POPUPWIN
-