Return something halfway reasonable from GetCharWidth/GetCharHeight because the generic log dialog divides by GetCharWidth which doesn't work so well when it's zero.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott 2007-08-10 20:03:05 +00:00
parent 0ddf669fc9
commit d89e391b21

View File

@ -1140,13 +1140,13 @@ wxString wxWindow::GetLabel() const
int wxWindow::GetCharHeight() const
{
// TODO
return 0;
return 10;
}
int wxWindow::GetCharWidth() const
{
// TODO
return 0;
return 5;
}
void wxWindow::GetTextExtent(const wxString& string, int *x, int *y,