X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b152d8c56c72577b64de63f4d3b001db5d65f85f..85284ca4b226d9a1ab6bed26c5eaa480543649d5:/src/univ/combobox.cpp diff --git a/src/univ/combobox.cpp b/src/univ/combobox.cpp index 2656c76d15..9d8033a7d8 100644 --- a/src/univ/combobox.cpp +++ b/src/univ/combobox.cpp @@ -185,7 +185,7 @@ void wxComboListBox::OnLeftUp(wxMouseEvent& event) wxCommandEvent evt(wxEVT_COMMAND_COMBOBOX_SELECTED,m_combo->GetId()); evt.SetInt(wxListBox::GetSelection()); evt.SetEventObject(m_combo); - m_combo->ProcessEvent(evt); + m_combo->ProcessWindowEvent(evt); event.Skip(); } @@ -205,7 +205,7 @@ wxSize wxComboListBox::GetAdjustedSize(int minWidth, void wxComboBox::Init() { - m_lbox = (wxListBox *)NULL; + m_lbox = NULL; } wxComboBox::wxComboBox(wxWindow *parent, @@ -273,7 +273,7 @@ wxComboBox::~wxComboBox() // wxComboBox methods forwarded to wxTextCtrl // ---------------------------------------------------------------------------- -wxString wxComboBox::GetValue() const +wxString wxComboBox::DoGetValue() const { return wxComboCtrl::GetValue(); }