git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65324
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void OnChar( wxKeyEvent &event );
+ virtual void SetValue(const wxString& value);
+
// Standard event handling
void OnCut(wxCommandEvent& event);
void OnCopy(wxCommandEvent& event);
return GetDefaultAttributesFromGTKWidget(gtk_combo_box_entry_new, true);
}
+void wxComboBox::SetValue(const wxString& value)
+{
+ if ( HasFlag(wxCB_READONLY) )
+ SetStringSelection(value);
+ else
+ wxTextEntry::SetValue(value);
+}
+
// ----------------------------------------------------------------------------
// standard event handling
// ----------------------------------------------------------------------------