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:
@@ -141,6 +141,7 @@ wxSize wxButton::DoGetBestSize() const
|
||||
int nWidthButton;
|
||||
int nWidthChar;
|
||||
int nHeightChar;
|
||||
wxFont vFont = (wxFont)GetFont();
|
||||
|
||||
GetTextExtent( rsLabel
|
||||
,&nWidthButton
|
||||
@@ -150,7 +151,7 @@ wxSize wxButton::DoGetBestSize() const
|
||||
wxGetCharSize( GetHWND()
|
||||
,&nWidthChar
|
||||
,&nHeightChar
|
||||
,(wxFont*)&GetFont()
|
||||
,&vFont
|
||||
);
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user