]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_choicbk.h
blind fix for wxMac
[wxWidgets.git] / include / wx / xrc / xh_choicbk.h
index cfb84338d7ee4a8cc3f1b9021ebc0d140b474776..20c5346eb3c11f201b90eb86a30dd8f1e3279685 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        xh_choicbk.h
+// Name:        wx/xrc/xh_choicbk.h
 // Purpose:     XML resource handler for wxChoicebook
 // Author:      Vaclav Slavik
 // Copyright:   (c) 2000 Vaclav Slavik
@@ -9,19 +9,16 @@
 #ifndef _WX_XH_CHOICEBK_H_
 #define _WX_XH_CHOICEBK_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "xh_choicbk.h"
-#endif
-
 #include "wx/xrc/xmlres.h"
 
-#if wxUSE_CHOICEBOOK
+#if wxUSE_XRC && wxUSE_CHOICEBOOK
 
-class WXDLLEXPORT wxChoicebook;
+class WXDLLIMPEXP_FWD_CORE wxChoicebook;
 
 class WXDLLIMPEXP_XRC wxChoicebookXmlHandler : public wxXmlResourceHandler
 {
-DECLARE_DYNAMIC_CLASS(wxChoicebookXmlHandler)
+    DECLARE_DYNAMIC_CLASS(wxChoicebookXmlHandler)
+
 public:
     wxChoicebookXmlHandler();
     virtual wxObject *DoCreateResource();
@@ -32,6 +29,6 @@ private:
     wxChoicebook *m_choicebook;
 };
 
-#endif
+#endif // wxUSE_XRC && wxUSE_CHOICEBOOK
 
 #endif // _WX_XH_CHOICEBK_H_