]> git.saurik.com Git - wxWidgets.git/commit - include/wx/palmos/setup0.h
Allow using wxGraphicsContext with MinGW if gdiplus.h is available.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 2 Apr 2010 19:30:41 +0000 (19:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 2 Apr 2010 19:30:41 +0000 (19:30 +0000)
commitcde23b64b5194f0d71cf16c85ea33d28419c815f
tree0b7b47fe964b7688bf59617a1eae6a9203715e58
parentf836fe354bc556eabb1d696bc9376c91535695dc
Allow using wxGraphicsContext with MinGW if gdiplus.h is available.

MinGW doesn't include gdiplus.h but it can be installed independently by the
user. Allow to use it if it's available:

- Include windows.h when checking for it in configure as this is apparently
  needed for its compilation.
- Don't reset wxUSE_GRAPHICS_CONTEXT to 0 for non-Microsoft compilers, instead
  just define it as 0 by default for them, allowing the user to simply change
  the definition in wx/msw/setup.h.

Closes #11892.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
12 files changed:
configure
configure.in
include/wx/motif/setup0.h
include/wx/msw/chkconf.h
include/wx/msw/setup0.h
include/wx/msw/wince/setup.h
include/wx/os2/setup0.h
include/wx/osx/setup0.h
include/wx/palmos/setup0.h
include/wx/setup_inc.h
include/wx/univ/setup0.h
setup.h.in