]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/popupwin.cpp
Avoid an assert when m_dir is empty
[wxWidgets.git] / src / palmos / popupwin.cpp
index 770436845f8be3f27f80b6a800c9dc52a7cd630e..009f37eaa5578a83d0923ec40aeac63f9656cecc 100644 (file)
     #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()
@@ -65,4 +64,3 @@ bool wxPopupWindow::Show(bool show)
 }
 
 #endif // #if wxUSE_POPUPWIN
-