git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45651
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- Fix wxNO_BORDER style for wxRadioBox (David Hart)
- Fix wxTextCtrl::GetLineText() for empty lines (Marcin Wojdyr)
+wxMac:
+
+- Fix wxComboBox::SetSelection(wxNOT_FOUND) (Adrian Secord)
+
wxUniv:
- Fix wxTextCtrl::SetSelection(-1, -1) to behave as documented (Anders Larsen)
m_choice->SetSelection( n );
if ( m_text != NULL )
- m_text->SetValue(GetString(n));
+ m_text->SetValue(n != wxNOT_FOUND ? GetString(n) : wxString(wxEmptyString));
}
int wxComboBox::FindString(const wxString& s, bool bCase) const