]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_gdctl.h
we need our own imaglist implementation because in wxmac wxIcon does not inherit...
[wxWidgets.git] / include / wx / xrc / xh_gdctl.h
index 548ecaf6168ba6a01bc5a96d9f7317aaf2c55dbe..32432377a81b1cf0d7599cfd6ef66539c802bad5 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_GDCTL_H_
 #define _WX_XH_GDCTL_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "xh_gdctl.h"
 #endif
 
@@ -19,8 +19,9 @@
 
 #if wxUSE_DIRDLG
 
-class WXXMLDLLEXPORT wxGenericDirCtrlXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxGenericDirCtrlXmlHandler : public wxXmlResourceHandler
 {
+DECLARE_DYNAMIC_CLASS(wxGenericDirCtrlXmlHandler)
 public:
     wxGenericDirCtrlXmlHandler();
     virtual wxObject *DoCreateResource();