X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9302396589aed223c95522b49d9818f0b82253e8..e8015245145b60f4de53b6cf42150b87da9779f2:/src/richtext/richtextsymboldlg.cpp?ds=inline diff --git a/src/richtext/richtextsymboldlg.cpp b/src/richtext/richtextsymboldlg.cpp index 0e20dfe6f4..c19891efcd 100644 --- a/src/richtext/richtextsymboldlg.cpp +++ b/src/richtext/richtextsymboldlg.cpp @@ -505,12 +505,6 @@ bool wxSymbolPickerDialog::TransferDataToWindow() m_fontCtrl->SetSelection(0); } - if (!m_symbol.empty()) - { - int sel = (int) m_symbol[0]; - m_symbolsCtrl->SetSelection(sel); - } - #if defined(__UNICODE__) if (m_subsetCtrl->GetCount() == 0) { @@ -528,6 +522,12 @@ bool wxSymbolPickerDialog::TransferDataToWindow() m_symbolsCtrl->SetUnicodeMode(m_fromUnicode); #endif + if (!m_symbol.empty()) + { + int sel = (int) m_symbol[0]; + m_symbolsCtrl->SetSelection(sel); + } + UpdateSymbolDisplay(); m_dontUpdate = false;