]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_cald.h
only define globals when wxUSE_BASE to avoid duplicate definitions in wxBase and...
[wxWidgets.git] / include / wx / xrc / xh_cald.h
index 5c39f44730ac1606eae87866c8fa30605504aed0..a6a8a832e537bb24c6f956c51435854047bbe6cc 100644 (file)
 #ifndef _WX_XH_CALD_H_
 #define _WX_XH_CALD_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #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();