X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da86e1776517d2403a687de08947698f5a608219..1fbfbfb0bf19e11ec98c2c1002cd561f16bc0b72:/src/xrc/xh_cald.cpp diff --git a/src/xrc/xh_cald.cpp b/src/xrc/xh_cald.cpp index 42d706c1de..d6514cbe7e 100644 --- a/src/xrc/xh_cald.cpp +++ b/src/xrc/xh_cald.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_cald.cpp +// Name: src/xrc/xh_cald.cpp // Purpose: XRC resource for wxCalendarCtrl // Author: Brian Gavin // Created: 2000/09/09 @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_cald.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -19,10 +15,14 @@ #pragma hdrstop #endif -#if wxUSE_XML && wxUSE_XRC && wxUSE_CALENDARCTRL +#if wxUSE_XRC && wxUSE_CALENDARCTRL #include "wx/xrc/xh_cald.h" -#include "wx/event.h" + +#ifndef WX_PRECOMP + #include "wx/event.h" +#endif //WX_PRECOMP + #include "wx/calctrl.h" IMPLEMENT_DYNAMIC_CLASS(wxCalendarCtrlXmlHandler, wxXmlResourceHandler) @@ -64,4 +64,4 @@ bool wxCalendarCtrlXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxCalendarCtrl")); } -#endif // wxUSE_XML && wxUSE_XRC && wxUSE_CALENDARCTRL +#endif // wxUSE_XRC && wxUSE_CALENDARCTRL