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:
Mattia Barbon
2002-04-09 19:34:59 +00:00
parent 9854b6eddf
commit f03b9d4585
4 changed files with 16 additions and 0 deletions

View File

@@ -19,6 +19,10 @@
#pragma hdrstop
#endif
#include "wx/setup.h"
#if wxUSE_CALENDARCTRL
#include "wx/xrc/xh_cald.h"
#include "wx/event.h"
#include "wx/calctrl.h"
@@ -57,3 +61,5 @@ bool wxCalendarCtrlXmlHandler::CanHandle(wxXmlNode *node)
{
return IsOfClass(node, wxT("wxCalendarCtrl"));
}
#endif

View File

@@ -38,7 +38,9 @@ void wxXmlResource::InitAllHandlers()
AddHandler(new wxStaticBoxXmlHandler);
AddHandler(new wxStaticBitmapXmlHandler);
AddHandler(new wxTreeCtrlXmlHandler);
#if wxUSE_CALENDARCTRL
AddHandler(new wxCalendarCtrlXmlHandler);
#endif
AddHandler(new wxListCtrlXmlHandler);
#if wxUSE_CHECKLISTBOX
AddHandler(new wxCheckListXmlHandler);

View File

@@ -19,6 +19,10 @@
#pragma hdrstop
#endif
#include "wx/setup.h"
#if wxUSE_CALENDARCTRL
#include "wx/xrc/xh_cald.h"
#include "wx/event.h"
#include "wx/calctrl.h"
@@ -57,3 +61,5 @@ bool wxCalendarCtrlXmlHandler::CanHandle(wxXmlNode *node)
{
return IsOfClass(node, wxT("wxCalendarCtrl"));
}
#endif

View File

@@ -38,7 +38,9 @@ void wxXmlResource::InitAllHandlers()
AddHandler(new wxStaticBoxXmlHandler);
AddHandler(new wxStaticBitmapXmlHandler);
AddHandler(new wxTreeCtrlXmlHandler);
#if wxUSE_CALENDARCTRL
AddHandler(new wxCalendarCtrlXmlHandler);
#endif
AddHandler(new wxListCtrlXmlHandler);
#if wxUSE_CHECKLISTBOX
AddHandler(new wxCheckListXmlHandler);