]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/scrolbar.h
fix unused parameter warnings
[wxWidgets.git] / include / wx / cocoa / scrolbar.h
index 2eb0c0a8d356197f70f178ffc27bd1a5dfec5f09..2ae99359329d057230aa33dbf01177a4258c2227 100644 (file)
@@ -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__