]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cmdline.h
fix for wxBase compilation (misplaced #if wxUSE_GUI)
[wxWidgets.git] / include / wx / cmdline.h
index 6ac61e93619d69ce0abc6cd7aba5c37b2fc86867..ca9dbc04ea627b559517dc555b5aba2efe05dcc8 100644 (file)
     #pragma interface "cmdline.h"
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_CMDLINE_PARSER
+
 #include "wx/string.h"
 
 class WXDLLEXPORT wxDateTime;
@@ -197,4 +201,6 @@ private:
     struct wxCmdLineParserData *m_data;
 };
 
+#endif // wxUSE_CMDLINE_PARSER
+
 #endif // _WX_CMDLINE_H_