Patch #1053364 - combobox shoult not remember position after clearing.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2004-11-10 19:17:40 +00:00
parent 5d631b78f8
commit 2549081bd9

View File

@ -95,6 +95,7 @@ public:
virtual void SetSelection(int n) { wxChoice::SetSelection(n); }
virtual void SetSelection(long from, long to);
virtual void SetEditable(bool editable);
virtual void Clear() { wxChoice::Clear(); m_selectionOld = -1; }
// implementation only from now on
virtual bool MSWCommand(WXUINT param, WXWORD id);