From 3f263f4542f0288a9aa2228f27f43e12a888e5a4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 11 Feb 1999 13:58:30 +0000 Subject: [PATCH] compilation fixes for gcc 2.7.2.1 under FreeBSD git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/checklst.h | 2 +- include/wx/gtk1/checklst.h | 2 +- src/gtk/checklst.cpp | 4 ++-- src/gtk1/checklst.cpp | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) 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 ) -- 2.45.2