reverted the change of wxCmdLineEntryDesc fields to wxString as this doesn't compile with VC6; make them const char * instead

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-09-14 21:05:12 +00:00
parent d32332aaf6
commit 0d5ab92f84
5 changed files with 21 additions and 28 deletions

View File

@@ -203,7 +203,7 @@ void wxAppBase::OnInitCmdLine(wxCmdLineParser& parser)
#ifdef __WXUNIVERSAL__
{
wxCMD_LINE_OPTION,
"",
NULL,
OPTION_THEME,
gettext_noop("specify the theme to use"),
wxCMD_LINE_VAL_STRING,
@@ -217,7 +217,7 @@ void wxAppBase::OnInitCmdLine(wxCmdLineParser& parser)
// and not mgl/app.cpp
{
wxCMD_LINE_OPTION,
"",
NULL,
OPTION_MODE,
gettext_noop("specify display mode to use (e.g. 640x480-16)"),
wxCMD_LINE_VAL_STRING,
@@ -226,14 +226,7 @@ void wxAppBase::OnInitCmdLine(wxCmdLineParser& parser)
#endif // __WXMGL__
// terminator
{
wxCMD_LINE_NONE,
"",
"",
"",
wxCMD_LINE_VAL_NONE,
0x0
}
wxCMD_LINE_DESC_END
};
parser.SetDesc(cmdLineGUIDesc);