From e3bb9a83a5d37c1053da15a0ee9d76c4f58ebefd Mon Sep 17 00:00:00 2001 From: luca Date: Tue, 19 Apr 2011 09:14:02 +0000 Subject: [PATCH] Patch level :10 Files correlati : Ricompilazione Demo : [ ] Commento : aggiunta la force_update ai TTreelist_window (serve per hardy) git-svn-id: svn://10.65.10.50/branches/R_10_00@21978 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- include/treectrl.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/treectrl.cpp b/include/treectrl.cpp index 0f358f4a5..3e8e8a19a 100755 --- a/include/treectrl.cpp +++ b/include/treectrl.cpp @@ -1255,6 +1255,7 @@ public: virtual bool goto_selected(); virtual void set_header(const char* head); virtual void set_fields(const char* flds); + virtual void force_update(); TTreelist_window(int x, int y, int dx, int dy, WINDOW parent, TTreelist_field* owner); virtual ~TTreelist_window() { } @@ -1557,6 +1558,12 @@ TTreelist_window::TTreelist_window(int x, int y, int dx, int dy, WINDOW parent, } } +void TTreelist_window::force_update() +{ + TTree_window::force_update(); + xvt_dwin_invalidate_rect(_ctrl, NULL); +} + /////////////////////////////////////////////////////////// // TTreelist_field ///////////////////////////////////////////////////////////