cleaning up common OSX code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ac8fdfe2a5
commit
71be467a6c
@ -30,8 +30,8 @@
|
||||
|
||||
#include "wx/dcclient.h"
|
||||
|
||||
#ifdef __WXMAC__
|
||||
#include "wx/mac/private.h"
|
||||
#ifdef __WXOSX__
|
||||
#include "ApplicationServices/ApplicationServices.h"
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
@ -197,7 +197,7 @@ void wxGCDCImpl::EndPage()
|
||||
|
||||
void wxGCDCImpl::Flush()
|
||||
{
|
||||
#ifdef __WXMAC__
|
||||
#ifdef __WXOSX__
|
||||
CGContextFlush( (CGContextRef) m_graphicContext->GetNativeContext() );
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user