Fix wxGTK wxBitmapComboBox::SetValue() not working if wxCB_READONLY window style was used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -288,6 +288,8 @@ void wxBitmapComboBox::WriteText(const wxString& value)
|
|||||||
{
|
{
|
||||||
if ( GetEntry() )
|
if ( GetEntry() )
|
||||||
wxComboBox::WriteText(value);
|
wxComboBox::WriteText(value);
|
||||||
|
else
|
||||||
|
SetStringSelection(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
wxString wxBitmapComboBox::GetValue() const
|
wxString wxBitmapComboBox::GetValue() const
|
||||||
|
Reference in New Issue
Block a user