// headers
// ----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "combobox.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
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
// ----------------------------------------------------------------------------