]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_gdctl.h
harmless unused param warning fix
[wxWidgets.git] / include / wx / xrc / xh_gdctl.h
index 548ecaf6168ba6a01bc5a96d9f7317aaf2c55dbe..ffdad072a4d9f69d6d80a501df3d9cdbb696baf6 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_GDCTL_H_
 #define _WX_XH_GDCTL_H_
 
 #ifndef _WX_XH_GDCTL_H_
 #define _WX_XH_GDCTL_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "xh_gdctl.h"
 #endif
 
 #pragma interface "xh_gdctl.h"
 #endif
 
@@ -19,8 +19,9 @@
 
 #if wxUSE_DIRDLG
 
 
 #if wxUSE_DIRDLG
 
-class WXXMLDLLEXPORT wxGenericDirCtrlXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxGenericDirCtrlXmlHandler : public wxXmlResourceHandler
 {
 {
+DECLARE_DYNAMIC_CLASS(wxGenericDirCtrlXmlHandler)
 public:
     wxGenericDirCtrlXmlHandler();
     virtual wxObject *DoCreateResource();
 public:
     wxGenericDirCtrlXmlHandler();
     virtual wxObject *DoCreateResource();