Don't define wxADJUST_MINSIZE if it had been already defined.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Apr 2010 20:52:59 +0000 (20:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Apr 2010 20:52:59 +0000 (20:52 +0000)
commitd15946384a1265e832a96206187d5cd756ab0e77
tree8f8a076520cb5fc6b3740af6f7d7f9325976287b
parente79f02bdde82eb564e1408ba09e6b5abb031b694
Don't define wxADJUST_MINSIZE if it had been already defined.

Defining wxADJUST_MINSIZE as 0 may be a simple way to make the old code to
compile and while it works without WXWIN_COMPATIBILITY_2_8 it paradoxically
doesn't work with it because this results in errors when wxADJUST_MINSIZE is
defined as 0 by wx itself.

Avoid this problem by only defining wxADJUST_MINSIZE ourselves if it hadn't
been defined yet.

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