Correct #if markup to spin-based controls handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d1d276f231
commit
2ae23cc5ce
@ -19,10 +19,13 @@
|
|||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if wxUSE_XRC && wxUSE_SPINBTN
|
#if wxUSE_XRC
|
||||||
|
|
||||||
#include "wx/xrc/xh_spin.h"
|
#include "wx/xrc/xh_spin.h"
|
||||||
#include "wx/spinctrl.h"
|
|
||||||
|
#if wxUSE_SPINBTN
|
||||||
|
|
||||||
|
#include "wx/spinbutt.h"
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxSpinButtonXmlHandler, wxXmlResourceHandler)
|
IMPLEMENT_DYNAMIC_CLASS(wxSpinButtonXmlHandler, wxXmlResourceHandler)
|
||||||
|
|
||||||
@ -63,6 +66,8 @@ bool wxSpinButtonXmlHandler::CanHandle(wxXmlNode *node)
|
|||||||
|
|
||||||
#if wxUSE_SPINCTRL
|
#if wxUSE_SPINCTRL
|
||||||
|
|
||||||
|
#include "wx/spinctrl.h"
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrlXmlHandler, wxXmlResourceHandler)
|
IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrlXmlHandler, wxXmlResourceHandler)
|
||||||
|
|
||||||
wxSpinCtrlXmlHandler::wxSpinCtrlXmlHandler()
|
wxSpinCtrlXmlHandler::wxSpinCtrlXmlHandler()
|
||||||
@ -98,4 +103,6 @@ bool wxSpinCtrlXmlHandler::CanHandle(wxXmlNode *node)
|
|||||||
return IsOfClass(node, wxT("wxSpinCtrl"));
|
return IsOfClass(node, wxT("wxSpinCtrl"));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // wxUSE_XRC && wxUSE_SPINCTRL
|
#endif // wxUSE_SPINCTRL
|
||||||
|
|
||||||
|
#endif // wxUSE_XRC
|
||||||
|
Loading…
Reference in New Issue
Block a user