adaptions for CW Pro 5.3 on mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2000-01-13 07:57:22 +00:00
parent 3b322b4a1f
commit 4765d335f6
13 changed files with 176 additions and 85 deletions

View File

@@ -168,6 +168,17 @@ class WXDLLEXPORT wxDC: public wxObject
virtual void GetTextExtent( const wxString &string, long *width, long *height,
long *descent = NULL, long *externalLeading = NULL,
wxFont *theFont = NULL, bool use16 = FALSE ) const ;
virtual void GetTextExtent( const wxString &string, int *width, int *height,
int *descent = NULL, int *externalLeading = NULL,
wxFont *theFont = NULL, bool use16 = FALSE ) const
{
long lwidth,lheight,ldescent,lexternal ;
GetTextExtent( string, &lwidth,&lheight,&ldescent,&lexternal,theFont,use16 ) ;
*width = lwidth ;
*height = lheight ;
if (descent) *descent = ldescent ;
if (externalLeading) *externalLeading = lexternal ;
}
virtual wxCoord GetCharWidth(void) const;
virtual wxCoord GetCharHeight(void) const;