]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_bttn.h
Added #if wxUSE_STACKWALKER. Fixes compilation of OS X shared libraries.
[wxWidgets.git] / include / wx / xrc / xh_bttn.h
index c6c89c34a195d89ab7cc72f8e16e484def98dca2..e05647fa33078196c4ff9e9bb17dc73ce17cf048 100644 (file)
 #ifndef _WX_XH_BTTN_H_
 #define _WX_XH_BTTN_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "xh_bttn.h"
 #endif
 
 #include "wx/xrc/xmlres.h"
 
-class WXXMLDLLEXPORT wxButtonXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxButtonXmlHandler : public wxXmlResourceHandler
 {
+DECLARE_DYNAMIC_CLASS(wxButtonXmlHandler)
 public:
     wxButtonXmlHandler();
     virtual wxObject *DoCreateResource();