]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation/warning fixes for HP-UX
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 6 Nov 2000 20:06:20 +0000 (20:06 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 6 Nov 2000 20:06:20 +0000 (20:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/choicdgg.cpp

index 51ab2b005f76a63ad81f1174997e23cffefa1bf6..2e0df746a8b9a09b05a0da53fed182f374228d89 100644 (file)
@@ -246,7 +246,7 @@ size_t wxGetMultipleChoices(wxArrayInt& selections,
     return selections.GetCount();
 }
 
-size_t wxGetMultipleChoices(wxArrayInt selections,
+size_t wxGetMultipleChoices(wxArrayInt& selections,
                             const wxString& message,
                             const wxString& caption,
                             const wxArrayString& aChoices,
@@ -273,7 +273,7 @@ bool wxAnyChoiceDialog::Create(wxWindow *parent,
                                const wxString& message,
                                const wxString& caption,
                                int n, const wxString *choices,
-                               long styleDlg,
+                               long WXUNUSED(styleDlg), // FIXME: why unused?
                                const wxPoint& pos,
                                long styleLbox)
 {
@@ -335,7 +335,7 @@ wxSingleChoiceDialog::wxSingleChoiceDialog(wxWindow *parent,
                                            const wxString *choices,
                                            char **clientData,
                                            long style,
-                                           const wxPoint& pos)
+                                           const wxPoint& WXUNUSED(pos))
 {
     Create(parent, message, caption, n, choices, clientData, style);
 }
@@ -348,7 +348,7 @@ wxSingleChoiceDialog::wxSingleChoiceDialog(wxWindow *parent,
                                            const wxStringList& choices,
                                            char **clientData,
                                            long style,
-                                           const wxPoint& pos)
+                                           const wxPoint& WXUNUSED(pos))
 {
     Create(parent, message, caption, choices, clientData, style);
 }