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:
@@ -33,20 +33,7 @@ class WXDLLIMPEXP_FWD_CORE wxImageList;
|
|||||||
class WXDLLIMPEXP_CORE wxTreeCtrlBase : public wxControl
|
class WXDLLIMPEXP_CORE wxTreeCtrlBase : public wxControl
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxTreeCtrlBase()
|
wxTreeCtrlBase();
|
||||||
{
|
|
||||||
m_imageListNormal =
|
|
||||||
m_imageListState = NULL;
|
|
||||||
m_ownsImageListNormal =
|
|
||||||
m_ownsImageListState = false;
|
|
||||||
|
|
||||||
// arbitrary default
|
|
||||||
m_spacing = 18;
|
|
||||||
|
|
||||||
// quick DoGetBestSize calculation
|
|
||||||
m_quickBestSize = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual ~wxTreeCtrlBase();
|
virtual ~wxTreeCtrlBase();
|
||||||
|
|
||||||
// accessors
|
// accessors
|
||||||
|
@@ -167,6 +167,20 @@ wxTreeEvent::wxTreeEvent(const wxTreeEvent & event)
|
|||||||
// wxTreeCtrlBase
|
// 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()
|
wxTreeCtrlBase::~wxTreeCtrlBase()
|
||||||
{
|
{
|
||||||
if (m_ownsImageListNormal)
|
if (m_ownsImageListNormal)
|
||||||
|
Reference in New Issue
Block a user