Add support for negatable command line switches.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 24 Nov 2010 00:42:53 +0000 (00:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 24 Nov 2010 00:42:53 +0000 (00:42 +0000)
commita6bf0c9533b2ed4434e667936c0e3d2f534de0e4
tree7865cdd3608901324af6c15e226a7b24ea3901a2
parent94803e4ec8d61d24ebf9b1e483776d17e55a7ec5
Add support for negatable command line switches.

Add wxCMD_LINE_SWITCH_NEGATABLE which allows to use a dash after a command
line switch to inverse its meaning (i.e. use "/X-" form). Also add new
wxCmdLineParser::FoundSwitch() allowing to check for whether the switch was
specified in normal or negated form.

Closes #11643.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/cmdline.h
interface/wx/cmdline.h
src/common/cmdline.cpp