]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fixes for gcc 2.7.2.1 under FreeBSD
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 11 Feb 1999 13:58:30 +0000 (13:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 11 Feb 1999 13:58:30 +0000 (13:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/checklst.h
include/wx/gtk1/checklst.h
src/gtk/checklst.cpp
src/gtk1/checklst.cpp

index 41417e2af40a69d810b8b9446e18944b2a3ee4d7..b1856957a534433b95d2b4caf5705fd17cff998b 100644 (file)
@@ -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);
index 41417e2af40a69d810b8b9446e18944b2a3ee4d7..b1856957a534433b95d2b4caf5705fd17cff998b 100644 (file)
@@ -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);
index 3eaf62c54bcf9ac740a009e5abd6bdd20c292efb..e47e7bd8054147c25ddf5c11b5589e5a1a528157 100644 (file)
@@ -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 )
index 3eaf62c54bcf9ac740a009e5abd6bdd20c292efb..e47e7bd8054147c25ddf5c11b5589e5a1a528157 100644 (file)
@@ -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 )