]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/combobox.cpp
Separated XML and HTML rich text I/O handlers
[wxWidgets.git] / src / msw / combobox.cpp
index ca8e3d4af2ff2fc3f8228f43f9e65e2eaaec3228..d85ef7e8875e1ac76e16a5c1ad4d9f21bb5aada3 100644 (file)
 // 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"
 
@@ -752,6 +748,13 @@ int wxComboBox::GetSelection() const
     return wxChoice::GetSelection();
 }
 
+void wxComboBox::Clear()
+{
+    wxChoice::Clear();
+    m_selectionOld = -1;
+    m_value.clear();
+}
+
 // ----------------------------------------------------------------------------
 // standard event handling
 // ----------------------------------------------------------------------------