]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_panel.h
we need our own imaglist implementation because in wxmac wxIcon does not inherit...
[wxWidgets.git] / include / wx / xrc / xh_panel.h
index 817e5ecc76366e155cff94115577b47c89ad7287..c591b454dfadb589070a02c7e6ab959db055b9a2 100644 (file)
 #ifndef _WX_XH_PANEL_H_
 #define _WX_XH_PANEL_H_
 
 #ifndef _WX_XH_PANEL_H_
 #define _WX_XH_PANEL_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "xh_panel.h"
 #endif
 
 #include "wx/xrc/xmlres.h"
 
 #pragma interface "xh_panel.h"
 #endif
 
 #include "wx/xrc/xmlres.h"
 
-class WXXMLDLLEXPORT wxPanelXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxPanelXmlHandler : public wxXmlResourceHandler
 {
 {
+DECLARE_DYNAMIC_CLASS(wxPanelXmlHandler)
 public:
     wxPanelXmlHandler();
     virtual wxObject *DoCreateResource();
 public:
     wxPanelXmlHandler();
     virtual wxObject *DoCreateResource();