diff --git a/modules/juce_gui_basics/layout/juce_Viewport.h b/modules/juce_gui_basics/layout/juce_Viewport.h index c91f337cb0..9738517f33 100644 --- a/modules/juce_gui_basics/layout/juce_Viewport.h +++ b/modules/juce_gui_basics/layout/juce_Viewport.h @@ -248,12 +248,12 @@ public: */ void setSingleStepSizes (int stepX, int stepY); - /** Returns a pointer to the scrollbar component being used. + /** Returns a reference to the scrollbar component being used. Handy if you need to customise the bar somehow. */ ScrollBar& getVerticalScrollBar() noexcept { return *verticalScrollBar; } - /** Returns a pointer to the scrollbar component being used. + /** Returns a reference to the scrollbar component being used. Handy if you need to customise the bar somehow. */ ScrollBar& getHorizontalScrollBar() noexcept { return *horizontalScrollBar; }