Add wxSize::IncBy() and DecBy() overloads taking wxPoint.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Jul 2010 10:44:03 +0000 (10:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Jul 2010 10:44:03 +0000 (10:44 +0000)
commit89b799cccff2a3cfa5d51dac5c6e9153d2fe2e82
treeb986c755326d53d31efebd53aa49bebaa515b97e
parente61fedabe7125c45229ef029289511220ccf2408
Add wxSize::IncBy() and DecBy() overloads taking wxPoint.

It seems to make at least as much sense to extend a wxSize by wxPoint than by
another wxSize (which doesn't make much size to me...) so add Inc/DecBy()
overloads doing this.

We might also add operator+=() overloads taking wxPoint for consistency but
for now don't add more operator overloads unnecessarily, let's wait if anybody
asks about this first.

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