X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/243dbf1a5088be31980df51b97831b52cb6986cd..d179e30b0a4b474d987714323eb56e86b67b1e23:/src/univ/combobox.cpp diff --git a/src/univ/combobox.cpp b/src/univ/combobox.cpp index 4248176caa..2ee283fb93 100644 --- a/src/univ/combobox.cpp +++ b/src/univ/combobox.cpp @@ -93,7 +93,7 @@ public: } protected: - void OnButton(wxCommandEvent& event) { m_combo->ShowPopup(); } + void OnButton(wxCommandEvent& WXUNUSED(event)) { m_combo->ShowPopup(); } virtual wxSize DoGetBestClientSize() const { @@ -290,7 +290,7 @@ wxComboControl::~wxComboControl() // ---------------------------------------------------------------------------- void wxComboControl::DoSetSize(int x, int y, - int width, int height, + int width, int WXUNUSED(height), int sizeFlags) { // combo height is always fixed @@ -833,7 +833,7 @@ int wxComboBox::DoInsert(const wxString& item, int pos) if (pos == GetCount()) return DoAppend(item); - GetLBox()->Insert(1, &item, pos); + GetLBox()->Insert(item, pos); return pos; }