#ifndef __TWIN32__
#if defined(__GNUWIN32__)
#ifndef wxUSE_NORLANDER_HEADERS
- #include <wx/msw/gnuwin32/extra.h>
+ #include "wx/msw/gnuwin32/extra.h"
#endif
#endif
#endif
wxListBox::~wxListBox()
{
-// Free();
+ Free();
}
void wxListBox::SetupColours()
void wxListBox::Clear()
{
-// Free();
+ Free();
ListBox_ResetContent(GetHwnd());
SetHorizontalExtent();
}
-/*
void wxListBox::Free()
{
#if wxUSE_OWNER_DRAWN
}
}
}
-*/
+
void wxListBox::SetSelection(int N, bool select)
{
wxCHECK_RET( N >= 0 && N < m_noItems,