X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63ec432bd7b9c93961e85e871bcb31758364a634..59022c25c19cd7eb56b2405a58010df5d0b73eb6:/include/wx/mac/carbon/control.h diff --git a/include/wx/mac/carbon/control.h b/include/wx/mac/carbon/control.h index 29001f0667..41b9ddc2cc 100644 --- a/include/wx/mac/carbon/control.h +++ b/include/wx/mac/carbon/control.h @@ -12,7 +12,7 @@ #ifndef _WX_CONTROL_H_ #define _WX_CONTROL_H_ -WXDLLEXPORT_DATA(extern const wxChar) wxControlNameStr[]; +WXDLLEXPORT_DATA(extern const char) wxControlNameStr[]; // General item class class WXDLLEXPORT wxControl : public wxControlBase @@ -21,16 +21,16 @@ class WXDLLEXPORT wxControl : public wxControlBase public: wxControl(); - wxControl(wxWindow *parent, wxWindowID id, + wxControl(wxWindow *parent, wxWindowID winid, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxControlNameStr) { - Create(parent, id, pos, size, style, validator, name); + Create(parent, winid, pos, size, style, validator, name); } - bool Create(wxWindow *parent, wxWindowID id, + bool Create(wxWindow *parent, wxWindowID winid, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& validator = wxDefaultValidator,