Fix compilation of spinctrlcmn.cpp when wxUSE_SPINCTRL==0
Don't include wx/private/spinctrl.h header (nor the other ones) at all in this case, as it doesn't compile in this build configuration. This fixes one of build problems under iOS. See https://github.com/wxWidgets/wxWidgets/pull/1773
This commit is contained in:
@@ -22,13 +22,13 @@
|
|||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if wxUSE_SPINCTRL
|
||||||
|
|
||||||
#include "wx/spinbutt.h"
|
#include "wx/spinbutt.h"
|
||||||
#include "wx/spinctrl.h"
|
#include "wx/spinctrl.h"
|
||||||
|
|
||||||
#include "wx/private/spinctrl.h"
|
#include "wx/private/spinctrl.h"
|
||||||
|
|
||||||
#if wxUSE_SPINCTRL
|
|
||||||
|
|
||||||
wxDEFINE_EVENT(wxEVT_SPINCTRL, wxSpinEvent);
|
wxDEFINE_EVENT(wxEVT_SPINCTRL, wxSpinEvent);
|
||||||
wxDEFINE_EVENT(wxEVT_SPINCTRLDOUBLE, wxSpinDoubleEvent);
|
wxDEFINE_EVENT(wxEVT_SPINCTRLDOUBLE, wxSpinDoubleEvent);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user