]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/include/wx/xrc/xh_panel.h
wxMotif compilation fix
[wxWidgets.git] / contrib / include / wx / xrc / xh_panel.h
index 817e5ecc76366e155cff94115577b47c89ad7287..ebfc6de0b66ff7df80b249a37dcdbcb1264fb67b 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(__APPLE__)
 #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();