]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_toolb.h
Hopefully fixed library names generated by wx-config for OS/2's PM port.
[wxWidgets.git] / include / wx / xrc / xh_toolb.h
index c149b77753ff9630c4ce67ac2815dbacc97bc48a..bbbaa3c80939995a320189a4c1214067589bcb24 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_TOOLB_H_
 #define _WX_XH_TOOLB_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #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();