removed inlines, adding straight implementation for Flush
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,6 +27,9 @@
|
||||
#include "wx/region.h"
|
||||
#endif
|
||||
|
||||
#ifdef __WXMAC__
|
||||
#include "wx/mac/private.h"
|
||||
#endif
|
||||
//-----------------------------------------------------------------------------
|
||||
// constants
|
||||
//-----------------------------------------------------------------------------
|
||||
@@ -138,6 +141,29 @@ void wxGCDC::DoDrawIcon( const wxIcon &icon, wxCoord x, wxCoord y )
|
||||
m_graphicContext->DrawIcon( icon , x, y, w, h );
|
||||
}
|
||||
|
||||
bool wxGCDC::StartDoc( const wxString& WXUNUSED(message) )
|
||||
{
|
||||
}
|
||||
|
||||
void wxGCDC::EndDoc()
|
||||
{
|
||||
}
|
||||
|
||||
void wxGCDC::StartPage()
|
||||
{
|
||||
}
|
||||
|
||||
void wxGCDC::EndPage()
|
||||
{
|
||||
}
|
||||
|
||||
void wxGCDC::Flush()
|
||||
{
|
||||
#ifdef __WXMAC__
|
||||
CGContextFlush( (CGContextRef) m_graphicContext->GetNativeContext() );
|
||||
#endif
|
||||
}
|
||||
|
||||
void wxGCDC::DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord w, wxCoord h )
|
||||
{
|
||||
wxCHECK_RET( Ok(), wxT("wxGCDC(cg)::DoSetClippingRegion - invalid DC") );
|
||||
|
Reference in New Issue
Block a user