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 ///////////////////////////////////////////////////////////