X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5369a0543e919a07f78f268fd0ef0c59e1b19e83..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/cocoa/scrolbar.h diff --git a/include/wx/cocoa/scrolbar.h b/include/wx/cocoa/scrolbar.h index 2eb0c0a8d3..2ae9935932 100644 --- a/include/wx/cocoa/scrolbar.h +++ b/include/wx/cocoa/scrolbar.h @@ -6,7 +6,7 @@ // Created: 2004/04/25 // RCS-ID: $Id$ // Copyright: (c) 2004 David Elliott -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_COCOA_SCROLBAR_H__ @@ -30,7 +30,7 @@ public: wxScrollBar(wxWindow *parent, wxWindowID winid, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxSL_HORIZONTAL, + long style = wxSB_HORIZONTAL, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxScrollBarNameStr) { @@ -40,7 +40,7 @@ public: bool Create(wxWindow *parent, wxWindowID winid, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxSL_HORIZONTAL, + long style = wxSB_HORIZONTAL, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxScrollBarNameStr); virtual ~wxScrollBar(); @@ -71,4 +71,5 @@ protected: int m_pageSize; }; -#endif // _WX_COCOA_SCROLBAR_H__ +#endif + // _WX_COCOA_SCROLBAR_H__