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:
David Webster
2005-03-20 18:51:53 +00:00
parent 686a3ee080
commit 0d598bae33
13 changed files with 16 additions and 20 deletions

View File

@@ -360,6 +360,7 @@ wxSize wxChoice::DoGetBestSize() const
int nItems = GetCount();
int nCx;
int nCy;
wxFont vFont = (wxFont)GetFont();
for (int i = 0; i < nItems; i++)
{
@@ -386,7 +387,7 @@ wxSize wxChoice::DoGetBestSize() const
wxGetCharSize( GetHWND()
,&nCx
,&nCy
,(wxFont*)&GetFont()
,&vFont
);
nChoiceWidth += 5 * nCx;