1. fruitless attempts to reproduce wxNotebook bug in the sample

2. multiple selection related changes in the treetest


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-02-29 01:49:05 +00:00
parent 3f7bc32b53
commit 477350ceb4
3 changed files with 48 additions and 22 deletions

View File

@@ -126,7 +126,7 @@ IMPLEMENT_APP(MyApp)
bool MyApp::OnInit()
{
// Create the main frame window
MyFrame *frame = new MyFrame("wxTreeCtrl Test", 50, 50, 450, 340);
MyFrame *frame = new MyFrame("wxTreeCtrl Test", 50, 50, 450, 600);
// Show the frame
frame->Show(TRUE);
@@ -758,10 +758,10 @@ void MyTreeCtrl::OnItemCollapsing(wxTreeEvent& event)
}
}
void MyTreeCtrl::OnItemActivated(wxTreeEvent&WXUNUSED(event))
void MyTreeCtrl::OnItemActivated(wxTreeEvent& event)
{
// show some info about this item
wxTreeItemId itemId = GetSelection();
wxTreeItemId itemId = event.GetItem();
MyTreeItemData *item = (MyTreeItemData *)GetItemData(itemId);
if ( item != NULL )