1. more code commented out by DW (@#%#%!#%!@) uncommented

2. wxSpinCtrl calculates its default size better and sends notifications
   as wxSpinButton does


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-10-28 00:38:59 +00:00
parent 4e67bfc7a4
commit baccb51431
4 changed files with 101 additions and 32 deletions

View File

@@ -230,7 +230,7 @@ bool wxListBox::Create(wxWindow *parent,
wxListBox::~wxListBox()
{
// Free();
Free();
}
void wxListBox::SetupColours()
@@ -348,7 +348,7 @@ int wxListBox::FindString(const wxString& s) const
void wxListBox::Clear()
{
// Free();
Free();
ListBox_ResetContent(GetHwnd());
@@ -356,7 +356,6 @@ void wxListBox::Clear()
SetHorizontalExtent();
}
/*
void wxListBox::Free()
{
#if wxUSE_OWNER_DRAWN
@@ -379,7 +378,7 @@ void wxListBox::Free()
}
}
}
*/
void wxListBox::SetSelection(int N, bool select)
{
wxCHECK_RET( N >= 0 && N < m_noItems,