summaryrefslogtreecommitdiffstats
path: root/Source/WXDialog/CommandLineInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WXDialog/CommandLineInfo.h')
-rw-r--r--Source/WXDialog/CommandLineInfo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/WXDialog/CommandLineInfo.h b/Source/WXDialog/CommandLineInfo.h
index a904bbc..f72a148 100644
--- a/Source/WXDialog/CommandLineInfo.h
+++ b/Source/WXDialog/CommandLineInfo.h
@@ -48,7 +48,7 @@ public:
std::string m_WhereSource;
std::string m_WhereBuild;
bool m_AdvancedValues;
- std::string m_GeneratorChoiceString;
+ wxString m_GeneratorChoiceString;
std::string m_LastUnknownParameter;
std::string m_ExecutablePath;
bool m_ExitAfterLoad;
@@ -60,6 +60,10 @@ protected:
// Return boolean value of the string
static int GetBoolValue(const std::string&);
+ // on windows the argument with spaces SUCKS! So we need to
+ // incorporate it with quotes.
+ wxString GetStringParam(const char *pString);
+
std::string m_ValidArguments;
};