From: Vadim Zeitlin Date: Tue, 25 Oct 2005 13:11:18 +0000 (+0000) Subject: fixed DLL compilation warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/07f93593809177eda6317a13f9b111759a52a3d2 fixed DLL compilation warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/xrc/xh_treebk.h b/include/wx/xrc/xh_treebk.h index deb9111b08..87880005e9 100644 --- a/include/wx/xrc/xh_treebk.h +++ b/include/wx/xrc/xh_treebk.h @@ -15,8 +15,10 @@ #if wxUSE_TREEBOOK #include "wx/treebook.h" +#include "wx/dynarray.h" -WX_DEFINE_ARRAY_SIZE_T(size_t, wxArrayTbkPageIndexes); +WX_DEFINE_USER_EXPORTED_ARRAY_SIZE_T(size_t, wxArrayTbkPageIndexes, + class WXDLLIMPEXP_XRC); // --------------------------------------------------------------------- // wxTreebookXmlHandler class @@ -28,16 +30,17 @@ WX_DEFINE_ARRAY_SIZE_T(size_t, wxArrayTbkPageIndexes); // it cannot be greater than the previous page depth plus one class WXDLLIMPEXP_XRC wxTreebookXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxTreebookXmlHandler) public: wxTreebookXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); private: - bool m_isInside; - wxTreebook * m_tbk; + wxTreebook *m_tbk; wxArrayTbkPageIndexes m_treeContext; + bool m_isInside; + + DECLARE_DYNAMIC_CLASS(wxTreebookXmlHandler) }; @@ -75,7 +78,7 @@ private: // ... // -#endif +#endif // wxUSE_TREEBOOK #endif // _WX_XH_TREEBK_H_