From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Sat, 16 Apr 2005 14:10:24 +0000 (+0000)
Subject: compilation fix: use wxSB_HORIZONTAL/VERTICAL instead of wxSL_XXX
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1d39019c67beba03e34edaf4d4aa5613a98adc10

compilation fix: use wxSB_HORIZONTAL/VERTICAL instead of wxSL_XXX


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

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();