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:
David Webster
2004-10-21 17:38:06 +00:00
parent b5f10b014c
commit 7804d121cb
4 changed files with 31 additions and 25 deletions

View File

@@ -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