X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5369a0543e919a07f78f268fd0ef0c59e1b19e83..21c6080db7c3abb60ac0143da009339225d69868:/include/wx/cocoa/scrolbar.h diff --git a/include/wx/cocoa/scrolbar.h b/include/wx/cocoa/scrolbar.h index 2eb0c0a8d3..ca72cb0c20 100644 --- a/include/wx/cocoa/scrolbar.h +++ b/include/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();