stop usign a deprecated method, and ensure that the imagelist

ownership is trnasfered when using AssignImageList.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-07-18 02:29:57 +00:00
parent 63b1cb8227
commit 15d9a04c68
3 changed files with 10 additions and 1 deletions

View File

@@ -3540,7 +3540,7 @@ void wxTreeListMainWindow::OnChar( wxKeyEvent &event )
// right : open if parent and go next (or expand on Win32)
// home : go to root
// end : go to last item without opening parents
switch (event.KeyCode())
switch (event.GetKeyCode())
{
#ifndef __WXMSW__ // mimic the standard win32 tree ctrl
case '+':