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

@@ -64,13 +64,17 @@ enum wxCmdLineEntryType
struct wxCmdLineEntryDesc
{
wxCmdLineEntryType kind;
wxString shortName;
wxString longName;
wxString description;
const char *shortName;
const char *longName;
const char *description;
wxCmdLineParamType type;
int flags;
};
// the list of wxCmdLineEntryDesc objects should be terminated with this one
#define wxCMD_LINE_DESC_END \
{ wxCMD_LINE_NONE, NULL, NULL, NULL, wxCMD_LINE_VAL_NONE, 0x0 }
// ----------------------------------------------------------------------------
// wxCmdLineParser is a class for parsing command line.
//