Allow building with wxUSE_CALENDARCTRL=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -19,6 +19,10 @@
|
|||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/setup.h"
|
||||||
|
|
||||||
|
#if wxUSE_CALENDARCTRL
|
||||||
|
|
||||||
#include "wx/xrc/xh_cald.h"
|
#include "wx/xrc/xh_cald.h"
|
||||||
#include "wx/event.h"
|
#include "wx/event.h"
|
||||||
#include "wx/calctrl.h"
|
#include "wx/calctrl.h"
|
||||||
@@ -57,3 +61,5 @@ bool wxCalendarCtrlXmlHandler::CanHandle(wxXmlNode *node)
|
|||||||
{
|
{
|
||||||
return IsOfClass(node, wxT("wxCalendarCtrl"));
|
return IsOfClass(node, wxT("wxCalendarCtrl"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@@ -38,7 +38,9 @@ void wxXmlResource::InitAllHandlers()
|
|||||||
AddHandler(new wxStaticBoxXmlHandler);
|
AddHandler(new wxStaticBoxXmlHandler);
|
||||||
AddHandler(new wxStaticBitmapXmlHandler);
|
AddHandler(new wxStaticBitmapXmlHandler);
|
||||||
AddHandler(new wxTreeCtrlXmlHandler);
|
AddHandler(new wxTreeCtrlXmlHandler);
|
||||||
|
#if wxUSE_CALENDARCTRL
|
||||||
AddHandler(new wxCalendarCtrlXmlHandler);
|
AddHandler(new wxCalendarCtrlXmlHandler);
|
||||||
|
#endif
|
||||||
AddHandler(new wxListCtrlXmlHandler);
|
AddHandler(new wxListCtrlXmlHandler);
|
||||||
#if wxUSE_CHECKLISTBOX
|
#if wxUSE_CHECKLISTBOX
|
||||||
AddHandler(new wxCheckListXmlHandler);
|
AddHandler(new wxCheckListXmlHandler);
|
||||||
|
@@ -19,6 +19,10 @@
|
|||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/setup.h"
|
||||||
|
|
||||||
|
#if wxUSE_CALENDARCTRL
|
||||||
|
|
||||||
#include "wx/xrc/xh_cald.h"
|
#include "wx/xrc/xh_cald.h"
|
||||||
#include "wx/event.h"
|
#include "wx/event.h"
|
||||||
#include "wx/calctrl.h"
|
#include "wx/calctrl.h"
|
||||||
@@ -57,3 +61,5 @@ bool wxCalendarCtrlXmlHandler::CanHandle(wxXmlNode *node)
|
|||||||
{
|
{
|
||||||
return IsOfClass(node, wxT("wxCalendarCtrl"));
|
return IsOfClass(node, wxT("wxCalendarCtrl"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@@ -38,7 +38,9 @@ void wxXmlResource::InitAllHandlers()
|
|||||||
AddHandler(new wxStaticBoxXmlHandler);
|
AddHandler(new wxStaticBoxXmlHandler);
|
||||||
AddHandler(new wxStaticBitmapXmlHandler);
|
AddHandler(new wxStaticBitmapXmlHandler);
|
||||||
AddHandler(new wxTreeCtrlXmlHandler);
|
AddHandler(new wxTreeCtrlXmlHandler);
|
||||||
|
#if wxUSE_CALENDARCTRL
|
||||||
AddHandler(new wxCalendarCtrlXmlHandler);
|
AddHandler(new wxCalendarCtrlXmlHandler);
|
||||||
|
#endif
|
||||||
AddHandler(new wxListCtrlXmlHandler);
|
AddHandler(new wxListCtrlXmlHandler);
|
||||||
#if wxUSE_CHECKLISTBOX
|
#if wxUSE_CHECKLISTBOX
|
||||||
AddHandler(new wxCheckListXmlHandler);
|
AddHandler(new wxCheckListXmlHandler);
|
||||||
|
Reference in New Issue
Block a user