From d635ced7003d648461cc1de2002ff97500353c8c Mon Sep 17 00:00:00 2001 From: jules Date: Fri, 17 Jul 2015 12:25:40 +0100 Subject: [PATCH] Minor comment addition --- modules/juce_gui_basics/widgets/juce_TableListBox.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/juce_gui_basics/widgets/juce_TableListBox.h b/modules/juce_gui_basics/widgets/juce_TableListBox.h index d631125509..d308e00ac0 100644 --- a/modules/juce_gui_basics/widgets/juce_TableListBox.h +++ b/modules/juce_gui_basics/widgets/juce_TableListBox.h @@ -56,6 +56,9 @@ public: The graphics context has its origin at the row's top-left, and your method should fill the area specified by the width and height parameters. + + Note that the rowNumber value may be greater than the number of rows in your + list, so be careful that you don't assume it's less than getNumRows(). */ virtual void paintRowBackground (Graphics&, int rowNumber,