Add wxSize::DecToIfSpecified() helper.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Aug 2012 23:34:15 +0000 (23:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Aug 2012 23:34:15 +0000 (23:34 +0000)
commit7d17499993b5c3a26890af4ec80aa56ef96ff226
tree3a127bc2dcca3a41e20fb43e89a1032f6f03f18a
parent532324df237338fafaddfc83d987b372f361c4b5
Add wxSize::DecToIfSpecified() helper.

This is similar to DecTo() but can be used even if the wxSize argument has
some components set to -1.

Notice that we don't need IncToIfSpecified() because IncTo() already works
correctly anyhow in this case.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/gdicmn.h
interface/wx/gdicmn.h