From 8c3672abfbaf237583f46ba0c1feb660b0f65973 Mon Sep 17 00:00:00 2001 From: guigues Date: Thu, 19 Feb 2009 09:40:20 +0000 Subject: [PATCH] *** empty log message *** --- src2/creaImageIOWxGimmickView.cpp | 3 ++- src2/creaImageIOWxTreeView.cpp | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src2/creaImageIOWxGimmickView.cpp b/src2/creaImageIOWxGimmickView.cpp index 262d2a4..c28c285 100644 --- a/src2/creaImageIOWxGimmickView.cpp +++ b/src2/creaImageIOWxGimmickView.cpp @@ -333,7 +333,8 @@ namespace creaImageIO void WxGimmickView::OnRemove(wxCommandEvent& event) { //TODO Select current tree handler - GetTreeViewMap()["Local database"]->RemoveSelected(1); + wxBusyCursor busy; + GetTreeViewMap()["Local database"]->RemoveSelected(1); } //================================================= diff --git a/src2/creaImageIOWxTreeView.cpp b/src2/creaImageIOWxTreeView.cpp index fbe6925..cd6e960 100644 --- a/src2/creaImageIOWxTreeView.cpp +++ b/src2/creaImageIOWxTreeView.cpp @@ -24,7 +24,7 @@ namespace creaImageIO // Global sizer wxBoxSizer *sizer = new wxBoxSizer(wxHORIZONTAL); - int ctrl_style = wxLC_REPORT; + int ctrl_style = wxLC_REPORT | wxLC_VRULES; int col_style = wxLIST_FORMAT_LEFT; // Creating the ListCtrl for the levels > 0 (not for Root level) @@ -149,6 +149,7 @@ namespace creaImageIO <<" view : updating level "< sel=GetSelected(level); @@ -215,7 +216,6 @@ namespace creaImageIO <<" view : item selected " <