Get rid of the class naming conflict with the base header for Print and supress some warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -96,11 +96,12 @@ wxSize wxStaticBox::DoGetBestSize() const
|
||||
int nCx;
|
||||
int nCy;
|
||||
int wBox;
|
||||
wxFont vFont = GetFont();
|
||||
|
||||
wxGetCharSize( GetHWND()
|
||||
,&nCx
|
||||
,&nCy
|
||||
,(wxFont*)&GetFont()
|
||||
,&vFont
|
||||
);
|
||||
GetTextExtent( wxGetWindowText(m_hWnd)
|
||||
,&wBox
|
||||
|
Reference in New Issue
Block a user