]> git.saurik.com Git - wxWidgets.git/commit
Include wx/defs.h before testing for wxUSE_RADIOBOX.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Sep 2010 13:45:51 +0000 (13:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Sep 2010 13:45:51 +0000 (13:45 +0000)
commitbb4acdc0855ec84fac009df4c9f218cbbebbdab0
treed35cc7f0b8b007da0703af2c73300c03be019693
parent1e005ad1fdc1ce9bdc8b4339f1d58a32e9d9e761
Include wx/defs.h before testing for wxUSE_RADIOBOX.

We need to include wx/defs.h that (indirectly) defines wxUSE_RADIOBOX
before testing for it in wx/radiobox.h, otherwise the test may fail if the
latter header is the first wx header included by the user code.

This is similar to r65210 fix for wxUSE_CHECKLISTBOX.

Closes #12526.

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