Moved from Scintilla version 1.25 to 1.32

Still more changes to be made in the wxSTC wrappers for new
functionality...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-09-08 04:06:33 +00:00
parent 95f99113a6
commit d134f1702e
102 changed files with 10680 additions and 4500 deletions

View File

@@ -458,6 +458,25 @@ void ListBox::Create(Window &parent, int ctrlID) {
0, NULL, wxLB_SINGLE | wxLB_SORT);
}
PRectangle ListBox::GetDesiredRect() {
wxSize sz = ((wxListBox*)id)->GetBestSize();
PRectangle rc;
rc.top = 0;
rc.left = 0;
rc.right = sz.x;
rc.bottom = sz.y;
return rc;
}
void ListBox::SetAverageCharWidth(int width) {
aveCharWidth = width;
}
void ListBox::SetFont(Font &font) {
Window::SetFont(font);
}
void ListBox::Clear() {
((wxListBox*)id)->Clear();
}