Use defs.h (and automatically setup.h and chkconf.h) before first wxUSE_* check (bug #1164141).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12,6 +12,10 @@
|
||||
#ifndef _WX_SPINCTRL_H_
|
||||
#define _WX_SPINCTRL_H_
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
#if wxUSE_SPINCTRL
|
||||
|
||||
#include "wx/spinbutt.h" // should make wxSpinEvent visible to the app
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -72,5 +76,6 @@ protected:
|
||||
#define EVT_SPINCTRL(id, fn) \
|
||||
wx__DECLARE_EVT1(wxEVT_COMMAND_SPINCTRL_UPDATED, id, wxSpinEventHandler(fn))
|
||||
|
||||
#endif // _WX_SPINCTRL_H_
|
||||
#endif // wxUSE_SPINCTRL
|
||||
|
||||
#endif // _WX_SPINCTRL_H_
|
||||
|
Reference in New Issue
Block a user