fixed DLL compilation warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -15,8 +15,10 @@
|
|||||||
#if wxUSE_TREEBOOK
|
#if wxUSE_TREEBOOK
|
||||||
|
|
||||||
#include "wx/treebook.h"
|
#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
|
// 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
|
// it cannot be greater than the previous page depth plus one
|
||||||
class WXDLLIMPEXP_XRC wxTreebookXmlHandler : public wxXmlResourceHandler
|
class WXDLLIMPEXP_XRC wxTreebookXmlHandler : public wxXmlResourceHandler
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS(wxTreebookXmlHandler)
|
|
||||||
public:
|
public:
|
||||||
wxTreebookXmlHandler();
|
wxTreebookXmlHandler();
|
||||||
virtual wxObject *DoCreateResource();
|
virtual wxObject *DoCreateResource();
|
||||||
virtual bool CanHandle(wxXmlNode *node);
|
virtual bool CanHandle(wxXmlNode *node);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool m_isInside;
|
wxTreebook *m_tbk;
|
||||||
wxTreebook * m_tbk;
|
|
||||||
wxArrayTbkPageIndexes m_treeContext;
|
wxArrayTbkPageIndexes m_treeContext;
|
||||||
|
bool m_isInside;
|
||||||
|
|
||||||
|
DECLARE_DYNAMIC_CLASS(wxTreebookXmlHandler)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -75,7 +78,7 @@ private:
|
|||||||
// ...
|
// ...
|
||||||
//</resource>
|
//</resource>
|
||||||
|
|
||||||
#endif
|
#endif // wxUSE_TREEBOOK
|
||||||
|
|
||||||
#endif // _WX_XH_TREEBK_H_
|
#endif // _WX_XH_TREEBK_H_
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user