From 8ba12f0e4a712c642bed3dca0cdab7659ded0eb8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 20 Aug 2024 19:02:41 +0200 Subject: [PATCH] Docs fixes for wxTreeCtrl and wxGrid See #24766. (cherry picked from commit f4d00c10828c378134ba67de9c473341fa94e174) --- interface/wx/grid.h | 12 +++++++++++- interface/wx/treectrl.h | 11 ----------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/interface/wx/grid.h b/interface/wx/grid.h index 46ced22595..129a2b5ad6 100644 --- a/interface/wx/grid.h +++ b/interface/wx/grid.h @@ -5902,11 +5902,21 @@ public: */ void SetRowAttr(int row, wxGridCellAttr* attr); - + /** + Returns an array of row labels within the given region. + */ wxArrayInt CalcRowLabelsExposed( const wxRegion& reg, wxGridWindow *gridWindow = NULL) const; + + /** + Returns an array of column labels within the given region. + */ wxArrayInt CalcColLabelsExposed( const wxRegion& reg, wxGridWindow *gridWindow = NULL) const; + + /** + Returns an array of (visible) cells within the given region. + */ wxGridCellCoordsArray CalcCellsExposed( const wxRegion& reg, wxGridWindow *gridWindow = NULL) const; diff --git a/interface/wx/treectrl.h b/interface/wx/treectrl.h index 8d00ef4974..342f8c5aa5 100644 --- a/interface/wx/treectrl.h +++ b/interface/wx/treectrl.h @@ -173,17 +173,6 @@ See also @ref overview_windowstyles. - @b Win32 @b notes: - - wxTreeCtrl class uses the standard common treeview control under Win32 - implemented in the system library comctl32.dll. Some versions of this - library are known to have bugs with handling the tree control colours: the - usual symptom is that the expanded items leave black (or otherwise - incorrectly coloured) background behind them, especially for the controls - using non-default background colour. The recommended solution is to upgrade - the comctl32.dll to a newer version: see - http://www.microsoft.com/downloads/details.aspx?familyid=cb2cf3a2-8025-4e8f-8511-9b476a8d35d2 - @library{wxcore} @category{ctrl} @appearance{treectrl}