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:
parent
0ddf669fc9
commit
d89e391b21
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user