]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_cald.h
Blind bug fix to bug reported by Angel Kry.
[wxWidgets.git] / include / wx / xrc / xh_cald.h
index 51d0cdab9f4d2a490a0f2709789d789dad2a74f3..a6a8a832e537bb24c6f956c51435854047bbe6cc 100644 (file)
 #ifndef _WX_XH_CALD_H_
 #define _WX_XH_CALD_H_
 
 #ifndef _WX_XH_CALD_H_
 #define _WX_XH_CALD_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "xh_cald.h"
 #endif
 
 #include "wx/xrc/xmlres.h"
 
 #pragma interface "xh_cald.h"
 #endif
 
 #include "wx/xrc/xmlres.h"
 
-class WXXMLDLLEXPORT wxCalendarCtrlXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxCalendarCtrlXmlHandler : public wxXmlResourceHandler
 {
 {
+DECLARE_DYNAMIC_CLASS(wxCalendarCtrlXmlHandler)
 public:
     wxCalendarCtrlXmlHandler();
     virtual wxObject *DoCreateResource();
 public:
     wxCalendarCtrlXmlHandler();
     virtual wxObject *DoCreateResource();