]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_chckb.h
fixed library order (important for static linking under Unix
[wxWidgets.git] / include / wx / xrc / xh_chckb.h
index 3738377b2fca38f0bc7194195447e7ba8f3c39a5..90920cc108a4b658cbd9ee3f5f776bb4f0a9472b 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_CHCKB_H_
 #define _WX_XH_CHCKB_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "xh_chckb.h"
 #endif
 
@@ -20,8 +20,9 @@
 
 #if wxUSE_CHECKBOX
 
-class WXXMLDLLEXPORT wxCheckBoxXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxCheckBoxXmlHandler : public wxXmlResourceHandler
 {
+DECLARE_DYNAMIC_CLASS(wxCheckBoxXmlHandler)
 public:
     wxCheckBoxXmlHandler();
     virtual wxObject *DoCreateResource();