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
This commit is contained in:
Vadim Zeitlin 2010-09-29 13:45:51 +00:00
parent 1e005ad1fd
commit bb4acdc085

View File

@ -12,6 +12,8 @@
#ifndef _WX_RADIOBOX_H_BASE_
#define _WX_RADIOBOX_H_BASE_
#include "wx/defs.h"
#if wxUSE_RADIOBOX
#include "wx/ctrlsub.h"