]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_statbar.h
added wxString ctor from std::string (inside #ifdef wxUSE_STD_STRING); removed pragma...
[wxWidgets.git] / include / wx / xrc / xh_statbar.h
index c1224c0710b0a6a7dd509f599b38dbd0b4e4d935..395170aa02963f3fd741bd30c6ff5b246e16d208 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_STATBAR_H_
 #define _WX_XH_STATBAR_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "xh_statbar.h"
 #endif
 
@@ -19,6 +19,7 @@
 
 class WXDLLIMPEXP_XRC wxStatusBarXmlHandler : public wxXmlResourceHandler
 {
+DECLARE_DYNAMIC_CLASS(wxStatusBarXmlHandler)
     public:
         wxStatusBarXmlHandler();
         virtual wxObject *DoCreateResource();