]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/combobox.cpp
include jconfig.vc under OS/2 too
[wxWidgets.git] / src / msw / combobox.cpp
index 5b1fc638681a464f4785d3a59cd1397be4268614..93c931c85fdc01282c2fe5dea0943b2d25a59d89 100644 (file)
@@ -510,6 +510,13 @@ void wxComboBox::SetValue(const wxString& value)
         wxTextEntry::SetValue(value);
 }
 
+void wxComboBox::Clear()
+{
+    wxChoice::Clear();
+    if ( !HasFlag(wxCB_READONLY) )
+        wxTextEntry::Clear();
+}
+
 bool wxComboBox::IsEditable() const
 {
     return !HasFlag(wxCB_READONLY) && wxTextEntry::IsEditable();