]> 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 07794b7eb0db49d3eb2c5fe9c5a2030865095575..90920cc108a4b658cbd9ee3f5f776bb4f0a9472b 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_CHCKB_H_
 #define _WX_XH_CHCKB_H_
 
 #ifndef _WX_XH_CHCKB_H_
 #define _WX_XH_CHCKB_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "xh_chckb.h"
 #endif
 
 #pragma interface "xh_chckb.h"
 #endif
 
@@ -20,8 +20,9 @@
 
 #if wxUSE_CHECKBOX
 
 
 #if wxUSE_CHECKBOX
 
-class WXXMLDLLEXPORT wxCheckBoxXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxCheckBoxXmlHandler : public wxXmlResourceHandler
 {
 {
+DECLARE_DYNAMIC_CLASS(wxCheckBoxXmlHandler)
 public:
     wxCheckBoxXmlHandler();
     virtual wxObject *DoCreateResource();
 public:
     wxCheckBoxXmlHandler();
     virtual wxObject *DoCreateResource();