]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/combobox.cpp
Modified generic wxTreeCtrl to work under non-Unix platforms simultaneously
[wxWidgets.git] / src / gtk / combobox.cpp
index 40e9370a104bf907598e10f4247c08695b9d903c..fe859bb2eea5a6b6daf311aa769cc7ee1b7a17a6 100644 (file)
@@ -577,6 +577,7 @@ void wxComboBox::OnChar( wxKeyEvent &event )
             if ( FindString(value) == wxNOT_FOUND )
             {
                 Append(value);
+                SetStringSelection(value);
 
                 // and generate the selected event for it
                 wxCommandEvent event( wxEVT_COMMAND_COMBOBOX_SELECTED, GetId() );