diff --git a/include/wx/cocoa/gauge.h b/include/wx/cocoa/gauge.h index dd5228059b..1a7e9957f7 100644 --- a/include/wx/cocoa/gauge.h +++ b/include/wx/cocoa/gauge.h @@ -42,7 +42,7 @@ public: bool Create(wxWindow *parent, wxWindowID winid, int range, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxSL_HORIZONTAL, + long style = wxGA_HORIZONTAL, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxGaugeNameStr); virtual ~wxGauge(); diff --git a/include/wx/cocoa/spinbutt.h b/include/wx/cocoa/spinbutt.h index 20f1e70c85..43c8290b51 100644 --- a/include/wx/cocoa/spinbutt.h +++ b/include/wx/cocoa/spinbutt.h @@ -39,7 +39,7 @@ public: bool Create(wxWindow *parent, wxWindowID winid = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxSL_HORIZONTAL, + long style = wxSP_HORIZONTAL, const wxString& name = wxSPIN_BUTTON_NAME); virtual ~wxSpinButton();