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
This commit is contained in:
Vadim Zeitlin 2011-12-02 00:50:33 +00:00
parent 9d79c17697
commit 4e4841b0ba
2 changed files with 15 additions and 14 deletions

View File

@ -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

View File

@ -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)