]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/combobox.cpp
fixing RawBitmap access
[wxWidgets.git] / src / msw / combobox.cpp
index 50681b9440f0be2af8fc69da7261d4455d4cb110..c8fd88ae27522c267667743c5231c05d0db96880 100644 (file)
@@ -748,6 +748,23 @@ int wxComboBox::GetSelection() const
     return wxChoice::GetSelection();
 }
 
     return wxChoice::GetSelection();
 }
 
+void wxComboBox::Clear()
+{
+    wxChoice::Clear();
+    m_selectionOld = -1;
+    m_value.clear();
+}
+
+// ----------------------------------------------------------------------------
+// overridden wxChoice methods
+// ----------------------------------------------------------------------------
+
+void wxComboBox::SetSelection(int n)
+{
+    wxChoice::SetSelection(n);
+    m_selectionOld = n;
+}
+
 // ----------------------------------------------------------------------------
 // standard event handling
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // standard event handling
 // ----------------------------------------------------------------------------