X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/60b71826d657aea1ea285ec855a55cc8f44192df..52147d1c4bb54b904253e388da76747e459157c0:/src/gtk/bmpcbox.cpp?ds=sidebyside diff --git a/src/gtk/bmpcbox.cpp b/src/gtk/bmpcbox.cpp index 13fb8edf00..4b42a746ab 100644 --- a/src/gtk/bmpcbox.cpp +++ b/src/gtk/bmpcbox.cpp @@ -3,7 +3,7 @@ // Purpose: wxBitmapComboBox // Author: Jaakko Salli // Created: 2008-05-19 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) 2008 Jaakko Salli // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -288,6 +288,8 @@ void wxBitmapComboBox::WriteText(const wxString& value) { if ( GetEntry() ) wxComboBox::WriteText(value); + else + SetStringSelection(value); } wxString wxBitmapComboBox::GetValue() const