From: Vadim Zeitlin Date: Fri, 2 Dec 2011 00:50:33 +0000 (+0000) Subject: No changes, just move wxTreeCtrlBase ctor to the source file. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4e4841b0ba8ee6e26c7b8b0643f6cfb57b0558a4 No changes, just move wxTreeCtrlBase ctor to the source file. Move inline ctor out of line to prepare for changing it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/treectrl.h b/include/wx/treectrl.h index 129333ca74..b93495de26 100644 --- a/include/wx/treectrl.h +++ b/include/wx/treectrl.h @@ -33,20 +33,7 @@ class WXDLLIMPEXP_FWD_CORE wxImageList; class WXDLLIMPEXP_CORE wxTreeCtrlBase : public wxControl { public: - wxTreeCtrlBase() - { - m_imageListNormal = - m_imageListState = NULL; - m_ownsImageListNormal = - m_ownsImageListState = false; - - // arbitrary default - m_spacing = 18; - - // quick DoGetBestSize calculation - m_quickBestSize = true; - } - + wxTreeCtrlBase(); virtual ~wxTreeCtrlBase(); // accessors diff --git a/src/common/treebase.cpp b/src/common/treebase.cpp index 483360b472..06e31ddbc3 100644 --- a/src/common/treebase.cpp +++ b/src/common/treebase.cpp @@ -167,6 +167,20 @@ wxTreeEvent::wxTreeEvent(const wxTreeEvent & event) // wxTreeCtrlBase // ---------------------------------------------------------------------------- +wxTreeCtrlBase::wxTreeCtrlBase() +{ + m_imageListNormal = + m_imageListState = NULL; + m_ownsImageListNormal = + m_ownsImageListState = false; + + // arbitrary default + m_spacing = 18; + + // quick DoGetBestSize calculation + m_quickBestSize = true; +} + wxTreeCtrlBase::~wxTreeCtrlBase() { if (m_ownsImageListNormal)