X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..6b30ffedb18b86329fdc41ac1be27bc85bd758ff:/include/wx/cocoa/statline.h diff --git a/include/wx/cocoa/statline.h b/include/wx/cocoa/statline.h index 96f7754d8d..990e5e80bf 100644 --- a/include/wx/cocoa/statline.h +++ b/include/wx/cocoa/statline.h @@ -4,9 +4,9 @@ // Author: David Elliott // Modified by: // Created: 2003/03/18 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __WX_COCOA_STATLINE_H__ @@ -17,7 +17,7 @@ // ======================================================================== // wxStaticLine // ======================================================================== -class WXDLLEXPORT wxStaticLine: public wxStaticLineBase// , protected wxCocoaNSButton +class WXDLLIMPEXP_CORE wxStaticLine: public wxStaticLineBase// , protected wxCocoaNSButton { DECLARE_DYNAMIC_CLASS(wxStaticLine) DECLARE_EVENT_TABLE() @@ -27,18 +27,18 @@ class WXDLLEXPORT wxStaticLine: public wxStaticLineBase// , protected wxCocoaNSB // ------------------------------------------------------------------------ public: wxStaticLine() { } - wxStaticLine(wxWindow *parent, wxWindowID winid, + wxStaticLine(wxWindow *parent, wxWindowID winid = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = 0, const wxString& name = wxStaticTextNameStr) + long style = 0, const wxString& name = wxStaticLineNameStr) { Create(parent, winid, pos, size, style, name); } - bool Create(wxWindow *parent, wxWindowID winid, + bool Create(wxWindow *parent, wxWindowID winid = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = 0, const wxString& name = wxStaticTextNameStr); + long style = 0, const wxString& name = wxStaticLineNameStr); virtual ~wxStaticLine(); // ------------------------------------------------------------------------ @@ -46,7 +46,7 @@ public: // ------------------------------------------------------------------------ protected: // Static lines cannot be enabled/disabled - virtual void CocoaSetEnabled(bool enable) { } + virtual void CocoaSetEnabled(bool WXUNUSED(enable)) { } // ------------------------------------------------------------------------ // Implementation // ------------------------------------------------------------------------