no real changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-06-13 22:32:23 +00:00
parent de5d3a20ce
commit 4636a1e8f8
2 changed files with 5 additions and 13 deletions

View File

@@ -316,7 +316,7 @@ void MyFrame::OnToggleMulti(wxCommandEvent& event)
void MyFrame::OnSelectAll(wxCommandEvent& WXUNUSED(event))
{
m_hlbox->SelectRange(0, m_hlbox->GetItemCount() - 1);
m_hlbox->SelectAll();
}
void MyFrame::OnUpdateUISelectAll(wxUpdateUIEvent& event)
@@ -412,14 +412,10 @@ MyHtmlListBox::MyHtmlListBox(wxWindow *parent, bool multi)
SetItemCount(m_file.GetLineCount());
}
#else
SetItemCount(10);
SetItemCount(1000);
#endif
// select something
if ( HasMultipleSelection() )
Select(3);
else
SetSelection(3);
SetSelection(3);
}
void MyHtmlListBox::OnDrawSeparator(wxDC& dc, wxRect& rect, size_t) const