diff --git a/docs/user/interface/ScrollView.dox b/docs/user/interface/ScrollView.dox index 13f3d70c9f..6c909300e8 100644 --- a/docs/user/interface/ScrollView.dox +++ b/docs/user/interface/ScrollView.dox @@ -317,7 +317,7 @@ /*! - \fn BScrollBar* BScrollView::ScrollBar(orientation posture) const + \fn BScrollBar* BScrollView::ScrollBar(orientation direction) const \brief Returns the BScrollBar object at the given \a direction. \param direction The \a direction of the scroll bar to get. diff --git a/headers/os/interface/ScrollView.h b/headers/os/interface/ScrollView.h index bb2e874809..34521faa7d 100644 --- a/headers/os/interface/ScrollView.h +++ b/headers/os/interface/ScrollView.h @@ -67,7 +67,7 @@ public: virtual BSize PreferredSize(); // BScrollBar - BScrollBar* ScrollBar(orientation posture) const; + BScrollBar* ScrollBar(orientation direction) const; virtual void SetBorder(border_style border); border_style Border() const;