update to make digitalmars compile/link image sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -614,7 +614,9 @@ void wxGenericDirCtrl::OnExpandItem(wxTreeEvent &event)
|
||||
|
||||
// VS: this is needed because the event handler is called from wxTreeCtrl
|
||||
// ctor when wxTR_HIDE_ROOT was specified
|
||||
if (m_rootId == 0)
|
||||
|
||||
if (!m_rootId.IsOk())
|
||||
|
||||
m_rootId = m_treeCtrl->GetRootItem();
|
||||
|
||||
ExpandDir(parentId);
|
||||
|
Reference in New Issue
Block a user