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:
Stefan Csomor
2007-10-21 18:10:16 +00:00
parent e3800748e4
commit 2144aae383

View File

@@ -27,6 +27,9 @@
#include "wx/region.h" #include "wx/region.h"
#endif #endif
#ifdef __WXMAC__
#include "wx/mac/private.h"
#endif
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// constants // constants
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
@@ -138,6 +141,29 @@ void wxGCDC::DoDrawIcon( const wxIcon &icon, wxCoord x, wxCoord y )
m_graphicContext->DrawIcon( icon , x, y, w, h ); 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 ) void wxGCDC::DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord w, wxCoord h )
{ {
wxCHECK_RET( Ok(), wxT("wxGCDC(cg)::DoSetClippingRegion - invalid DC") ); wxCHECK_RET( Ok(), wxT("wxGCDC(cg)::DoSetClippingRegion - invalid DC") );