compilation fixes - wxGTK compiles but not links
[wxWidgets.git] / src / common / cmdline.cpp
index 3d8401f815c458c6d9c5edc5b76221ba44cbed1d..49f362bfa00eea61806dee699237cf93f7ec542f 100644 (file)
@@ -28,6 +28,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_CMDLINE_PARSER
+
 #ifndef WX_PRECOMP
     #include "wx/string.h"
     #include "wx/log.h"
@@ -963,3 +965,5 @@ static wxString GetTypeName(wxCmdLineParamType type)
 
     return s;
 }
+
+#endif // wxUSE_CMDLINE_PARSER