From: Stefan Csomor Date: Sat, 1 Dec 2007 05:27:52 +0000 (+0000) Subject: fixing define X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0fa6a0ac1a557104d8e76806eadfa1e600cfc25c fixing define git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/graphics.cpp b/src/mac/carbon/graphics.cpp index 4b550355b3..48cd16a9cf 100644 --- a/src/mac/carbon/graphics.cpp +++ b/src/mac/carbon/graphics.cpp @@ -759,7 +759,7 @@ wxMacCoreGraphicsFontData::wxMacCoreGraphicsFontData(wxGraphicsRenderer* rendere wxASSERT_MSG( status == noErr , wxT("couldn't modify ATSU style") ); #endif -#if WXMAC_USE_CG_TEXT +#if wxMAC_USE_CG_TEXT #endif } @@ -774,7 +774,7 @@ wxMacCoreGraphicsFontData::~wxMacCoreGraphicsFontData() m_macATSUIStyle = NULL; } #endif -#if WXMAC_USE_CG_TEXT +#if wxMAC_USE_CG_TEXT #endif } @@ -1774,7 +1774,7 @@ void wxMacCoreGraphicsContext::DrawText( const wxString &str, wxDouble x, wxDoub return; } #endif -#if WXMAC_USE_CG_TEXT +#if wxMAC_USE_CG_TEXT // TODO core graphics text implementation here #endif } @@ -1903,7 +1903,7 @@ void wxMacCoreGraphicsContext::DrawText( const wxString &str, wxDouble x, wxDoub return; } #endif -#if WXMAC_USE_CG_TEXT +#if wxMAC_USE_CG_TEXT // default implementation takes care of rotation and calls non rotated DrawText afterwards wxGraphicsContext::DrawText( str, x, y, angle ); #endif @@ -2014,7 +2014,7 @@ void wxMacCoreGraphicsContext::GetTextExtent( const wxString &str, wxDouble *wid return; } #endif -#if WXMAC_USE_CG_TEXT +#if wxMAC_USE_CG_TEXT // TODO core graphics text implementation here #endif } @@ -2104,7 +2104,7 @@ void wxMacCoreGraphicsContext::GetPartialTextExtents(const wxString& text, wxArr #endif } #endif -#if WXMAC_USE_CG_TEXT +#if wxMAC_USE_CG_TEXT // TODO core graphics text implementation here #endif }