]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listbox.cpp
update m_lastcount correctly in wxBufferedInputStream::Read() when using the buffer...
[wxWidgets.git] / src / msw / listbox.cpp
index fd421c8467734f234e5e7e3d2f398b5603d2b68d..ae8535a88f56bc271b540938b4be47abd28b84df 100644 (file)
@@ -198,7 +198,7 @@ bool wxListBox::Create(wxWindow *parent,
 
 wxListBox::~wxListBox()
 {
-    Free();
+    Clear();
 }
 
 WXDWORD wxListBox::MSWGetStyle(long style, WXDWORD *exstyle) const