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