Fixes compile warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1188,8 +1188,9 @@ wxSize wxTextCtrl::DoGetBestSize() const
|
||||
{
|
||||
int nCx;
|
||||
int nCy;
|
||||
wxFont vFont = (wxFont)GetFont();
|
||||
|
||||
wxGetCharSize(GetHWND(), &nCx, &nCy, (wxFont*)&GetFont());
|
||||
wxGetCharSize(GetHWND(), &nCx, &nCy, &vFont);
|
||||
|
||||
int wText = DEFAULT_ITEM_WIDTH;
|
||||
int hText = (int)(EDIT_HEIGHT_FROM_CHAR_HEIGHT(nCy) * .8);
|
||||
|
Reference in New Issue
Block a user