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