fixed warnings after GetFont prototype change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-06-24 14:25:47 +00:00
parent c6eb778541
commit 7a5e53abb3
11 changed files with 23 additions and 25 deletions

View File

@@ -203,7 +203,7 @@ wxSize wxButton::DoGetBestSize() const
GetTextExtent(wxGetWindowText(GetHWND()), &wBtn, NULL);
int wChar, hChar;
wxGetCharSize(GetHWND(), &wChar, &hChar, &GetFont());
wxGetCharSize(GetHWND(), &wChar, &hChar, GetFont());
// add a margin -- the button is wider than just its label
wBtn += 3*wChar;