diff --git a/include/wx/gtk/checklst.h b/include/wx/gtk/checklst.h index 41417e2af4..b1856957a5 100644 --- a/include/wx/gtk/checklst.h +++ b/include/wx/gtk/checklst.h @@ -41,7 +41,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, int nStrings = 0, - const wxString choices[] = (wxString[]) NULL, + const wxString choices[] = (const wxString *) NULL, long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxListBoxNameStr); diff --git a/include/wx/gtk1/checklst.h b/include/wx/gtk1/checklst.h index 41417e2af4..b1856957a5 100644 --- a/include/wx/gtk1/checklst.h +++ b/include/wx/gtk1/checklst.h @@ -41,7 +41,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, int nStrings = 0, - const wxString choices[] = (wxString[]) NULL, + const wxString choices[] = (const wxString *) NULL, long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxListBoxNameStr); diff --git a/src/gtk/checklst.cpp b/src/gtk/checklst.cpp index 3eaf62c54b..e47e7bd805 100644 --- a/src/gtk/checklst.cpp +++ b/src/gtk/checklst.cpp @@ -31,8 +31,8 @@ wxCheckListBox::wxCheckListBox() : wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, - int nStrings, - const wxString choices[], + int nStrings, + const wxString *choices, long style, const wxValidator& validator, const wxString& name ) diff --git a/src/gtk1/checklst.cpp b/src/gtk1/checklst.cpp index 3eaf62c54b..e47e7bd805 100644 --- a/src/gtk1/checklst.cpp +++ b/src/gtk1/checklst.cpp @@ -31,8 +31,8 @@ wxCheckListBox::wxCheckListBox() : wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, - int nStrings, - const wxString choices[], + int nStrings, + const wxString *choices, long style, const wxValidator& validator, const wxString& name )