X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5996fb421dc956768bc9a0031051f4c890f6ffa1..6945b5878c8d46a56f1a59f558837a0943492f3c:/src/msw/combobox.cpp diff --git a/src/msw/combobox.cpp b/src/msw/combobox.cpp index d85ef7e887..c8fd88ae27 100644 --- a/src/msw/combobox.cpp +++ b/src/msw/combobox.cpp @@ -755,6 +755,16 @@ void wxComboBox::Clear() m_value.clear(); } +// ---------------------------------------------------------------------------- +// overridden wxChoice methods +// ---------------------------------------------------------------------------- + +void wxComboBox::SetSelection(int n) +{ + wxChoice::SetSelection(n); + m_selectionOld = n; +} + // ---------------------------------------------------------------------------- // standard event handling // ----------------------------------------------------------------------------