forward define for non precomp build, switching preproc constants for consistency

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2008-09-05 19:02:51 +00:00
parent 298c25c3a5
commit 0b6a49c21f
9 changed files with 33 additions and 29 deletions

View File

@@ -30,7 +30,7 @@
#include "wx/dcclient.h"
#ifdef __WXOSX__
#ifdef __WXOSX_OR_COCOA__
#ifdef __WXOSX_IPHONE__
#include <CoreGraphics/CoreGraphics.h>
#else
@@ -228,7 +228,7 @@ void wxGCDCImpl::EndPage()
void wxGCDCImpl::Flush()
{
#ifdef __WXOSX__
#ifdef __WXOSX_OR_COCOA__
CGContextFlush( (CGContextRef) m_graphicContext->GetNativeContext() );
#endif
}