]> git.saurik.com Git - wxWidgets.git/commitdiff
Added #if wxUSE_CMDLINE_PARSER
authorRobin Dunn <robin@alldunn.com>
Sat, 23 Aug 2003 02:38:34 +0000 (02:38 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 23 Aug 2003 02:38:34 +0000 (02:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/app.h

index b3b00cb981caa55d0ad13cd8dd5cd20f74d7fb34..cc050b1d3decc39b461c9cca98a416e3351875b0 100644 (file)
@@ -257,7 +257,7 @@ public:
                           const wxChar *cond,
                           const wxChar *msg);
 #endif // __WXDEBUG__
                           const wxChar *cond,
                           const wxChar *msg);
 #endif // __WXDEBUG__
-    
+
     // check that the wxBuildOptions object (constructed in the application
     // itself, usually the one from IMPLEMENT_APP() macro) matches the build
     // options of the library and abort if it doesn't
     // check that the wxBuildOptions object (constructed in the application
     // itself, usually the one from IMPLEMENT_APP() macro) matches the build
     // options of the library and abort if it doesn't
@@ -471,9 +471,10 @@ public:
     // command line parsing (GUI-specific)
     // ------------------------------------------------------------------------
 
     // command line parsing (GUI-specific)
     // ------------------------------------------------------------------------
 
+#if wxUSE_CMDLINE_PARSER
     virtual bool OnCmdLineParsed(wxCmdLineParser& parser);
     virtual void OnInitCmdLine(wxCmdLineParser& parser);
     virtual bool OnCmdLineParsed(wxCmdLineParser& parser);
     virtual void OnInitCmdLine(wxCmdLineParser& parser);
-
+#endif
 
     // miscellaneous other stuff
     // ------------------------------------------------------------------------
 
     // miscellaneous other stuff
     // ------------------------------------------------------------------------