From: guigues Date: Thu, 19 Feb 2009 09:40:20 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: EED.02Oct2009~184 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=8c3672abfbaf237583f46ba0c1feb660b0f65973;p=creaImageIO.git *** empty log message *** --- 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 " <