From 8030d606317012157179981a16166361043f384e Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 23 Aug 2003 02:38:34 +0000 Subject: [PATCH] Added #if wxUSE_CMDLINE_PARSER git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/app.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wx/app.h b/include/wx/app.h index b3b00cb981..cc050b1d3d 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -257,7 +257,7 @@ public: 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 @@ -471,9 +471,10 @@ public: // command line parsing (GUI-specific) // ------------------------------------------------------------------------ +#if wxUSE_CMDLINE_PARSER virtual bool OnCmdLineParsed(wxCmdLineParser& parser); virtual void OnInitCmdLine(wxCmdLineParser& parser); - +#endif // miscellaneous other stuff // ------------------------------------------------------------------------