X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ba7e7b79f25db2d12c0e672e25b901313618af8..7017fd6745ea99b3c479c96b0f609f8397640de5:/include/wx/xrc/xh_statbar.h

diff --git a/include/wx/xrc/xh_statbar.h b/include/wx/xrc/xh_statbar.h
index c1224c0710..dfbd2526fa 100644
--- a/include/wx/xrc/xh_statbar.h
+++ b/include/wx/xrc/xh_statbar.h
@@ -11,14 +11,11 @@
 #ifndef _WX_XH_STATBAR_H_
 #define _WX_XH_STATBAR_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "xh_statbar.h"
-#endif
-
 #include "wx/xrc/xmlres.h"
 
 class WXDLLIMPEXP_XRC wxStatusBarXmlHandler : public wxXmlResourceHandler
 {
+DECLARE_DYNAMIC_CLASS(wxStatusBarXmlHandler)
     public:
         wxStatusBarXmlHandler();
         virtual wxObject *DoCreateResource();