]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cmdline.h
remove deprecated and constructor and SetModal() methods
[wxWidgets.git] / include / wx / cmdline.h
index 54fe7fbb71dadc350d9223b3cf9a4ec4c4c4de98..88ce4e51d311075eb52af7de540b1e34c1363b52 100644 (file)
@@ -64,13 +64,17 @@ enum wxCmdLineEntryType
 struct wxCmdLineEntryDesc
 {
     wxCmdLineEntryType kind;
-    const wxChar *shortName;
-    const wxChar *longName;
-    const wxChar *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.
 //