]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_panel.h
return name and extension by const ref, not by value, to prevent bugs as the one...
[wxWidgets.git] / include / wx / xrc / xh_panel.h
index 40459ae752516b8d66e59fda84985ab5a258fbde..c591b454dfadb589070a02c7e6ab959db055b9a2 100644 (file)
 #ifndef _WX_XH_PANEL_H_
 #define _WX_XH_PANEL_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #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();