Fix of SPE-879 and #2021

This commit is contained in:
YuSanka 2019-03-27 16:59:34 +01:00
parent 46eafca0eb
commit 3c163285e5
3 changed files with 21 additions and 21 deletions

View file

@ -584,6 +584,11 @@ void Choice::BUILD() {
void Choice::set_selection()
{
/* To prevent earlier control updating under OSX set m_disable_change_event to true
* (under OSX wxBitmapComboBox send wxEVT_COMBOBOX even after SetSelection())
*/
m_disable_change_event = true;
wxString text_value = wxString("");
wxBitmapComboBox* field = dynamic_cast<wxBitmapComboBox*>(window);