Command line parsing
chris elliott
biol75 at york.ac.uk
Mon Mar 12 09:02:23 PDT 2007
http://wxhatch.cvs.sourceforge.net/wxhatch/wxhatch/wxhatch.cpp?revision=1.578&view=markup&pathrev=MAIN
look at MyApp::OnInit
chris
Kenneth Porter wrote:
> Can anyone point me to some code that illustrates proper use of the command
> line parsing machinery? I looked through the samples directory and only see
> one very tepid use of it, which doesn't call the base wxApp::OnInit method.
> How do I invoke that and still use the parser system?
>
> For now my initial app needs a parameter to indicate which of several
> sections in a configuration file should be used, eg. invocation would be
> "myapp config1" or "myapp config2", with a default config assumed if no
> parameter is passed.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
More information about the wx-users
mailing list