]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_toolb.h
invalidate m_selection in DoRemovePage(), not in DeletePage() (replaces patch 998984)
[wxWidgets.git] / include / wx / xrc / xh_toolb.h
index c149b77753ff9630c4ce67ac2815dbacc97bc48a..c54b7810614405edc9d6dc228c27cc69ba074934 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_TOOLB_H_
 #define _WX_XH_TOOLB_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "xh_toolb.h"
 #endif
 
@@ -21,8 +21,9 @@
 
 class WXDLLEXPORT wxToolBar;
 
-class WXXMLDLLEXPORT wxToolBarXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxToolBarXmlHandler : public wxXmlResourceHandler
 {
+DECLARE_DYNAMIC_CLASS(wxToolBarXmlHandler)
 public:
     wxToolBarXmlHandler();
     virtual wxObject *DoCreateResource();