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:
@@ -214,13 +214,14 @@ wxSize wxSpinCtrl::DoGetBestSize() const
|
||||
{
|
||||
wxSize vSizeBtn = wxSpinButton::DoGetBestSize();
|
||||
int nHeight;
|
||||
wxFont vFont = (wxFont)GetFont();
|
||||
|
||||
vSizeBtn.x += DEFAULT_ITEM_WIDTH + MARGIN_BETWEEN;
|
||||
|
||||
wxGetCharSize( GetHWND()
|
||||
,NULL
|
||||
,&nHeight
|
||||
,(wxFont*)&GetFont()
|
||||
,&vFont
|
||||
);
|
||||
nHeight = EDIT_HEIGHT_FROM_CHAR_HEIGHT(nHeight);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user