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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user