]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_chckb.h
allow compilation with wxUSE_CHOICEDLG set to 0
[wxWidgets.git] / include / wx / xrc / xh_chckb.h
index 07794b7eb0db49d3eb2c5fe9c5a2030865095575..4d6b7198c8095f6720c4007402a9d918c2c65a4b 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_CHCKB_H_
 #define _WX_XH_CHCKB_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #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();