]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appbase.cpp
reverted the change of wxCmdLineEntryDesc fields to wxString as this doesn't compile...
[wxWidgets.git] / src / common / appbase.cpp
index 8e819f62d1ca79cdc589f758312e19647c3d8204..66297871a4375928766f395b6ed7bb024a8b29ec 100644 (file)
@@ -485,7 +485,7 @@ void wxAppConsoleBase::OnInitCmdLine(wxCmdLineParser& parser)
 #if wxUSE_LOG
         {
             wxCMD_LINE_SWITCH,
-            "",
+            NULL,
             OPTION_VERBOSE,
             gettext_noop("generate verbose log messages"),
             wxCMD_LINE_VAL_NONE,
@@ -494,14 +494,7 @@ void wxAppConsoleBase::OnInitCmdLine(wxCmdLineParser& parser)
 #endif // wxUSE_LOG
 
         // terminator
-        {
-            wxCMD_LINE_NONE,
-            "",
-            "",
-            "",
-            wxCMD_LINE_VAL_NONE,
-            0x0
-        }
+        wxCMD_LINE_DESC_END
     };
 
     parser.SetDesc(cmdLineDesc);