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:
@@ -725,6 +725,7 @@ wxSize wxListBox::DoGetBestSize() const
|
||||
int nListbox = 0;
|
||||
int nCx;
|
||||
int nCy;
|
||||
wxFont vFont = (wxFont)GetFont();
|
||||
|
||||
for (int i = 0; i < m_nNumItems; i++)
|
||||
{
|
||||
@@ -751,7 +752,7 @@ wxSize wxListBox::DoGetBestSize() const
|
||||
wxGetCharSize( GetHWND()
|
||||
,&nCx
|
||||
,&nCy
|
||||
,(wxFont*)&GetFont()
|
||||
,&vFont
|
||||
);
|
||||
nListbox += 3 * nCx;
|
||||
|
||||
|
Reference in New Issue
Block a user