]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cmdline.h
don't compare initial slider position with uninitialized m_pos (modified patch 1818759)
[wxWidgets.git] / include / wx / cmdline.h
index c9dd72b9d2d214460fc3e85268aff514a43fac5a..88ce4e51d311075eb52af7de540b1e34c1363b52 100644 (file)
@@ -66,11 +66,15 @@ struct wxCmdLineEntryDesc
     wxCmdLineEntryType kind;
     const char *shortName;
     const char *longName;
-    wxString description;
+    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.
 //