X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5369a0543e919a07f78f268fd0ef0c59e1b19e83..53107283f366d1d4950559afcbf056e901e778fd:/include/wx/cocoa/scrolbar.h diff --git a/include/wx/cocoa/scrolbar.h b/include/wx/cocoa/scrolbar.h index 2eb0c0a8d3..7d449fe2aa 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__ @@ -17,7 +17,7 @@ // ======================================================================== // wxScrollBar // ======================================================================== -class WXDLLEXPORT wxScrollBar: public wxScrollBarBase, protected wxCocoaNSScroller +class WXDLLIMPEXP_CORE wxScrollBar: public wxScrollBarBase, protected wxCocoaNSScroller { DECLARE_DYNAMIC_CLASS(wxScrollBar) DECLARE_EVENT_TABLE() @@ -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__