#include "wx/dc.h"
+
//-----------------------------------------------------------------------------
// wxDC
//-----------------------------------------------------------------------------
-IMPLEMENT_ABSTRACT_CLASS(wxDC, wxDCBase)
+#if wxUSE_NEW_DC
+IMPLEMENT_ABSTRACT_CLASS(wxGTKImplDC, wxDC)
+#else
+IMPLEMENT_ABSTRACT_CLASS(wxGTKImplDC, wxDCBase)
+#endif
-wxDC::wxDC()
+wxGTKImplDC::wxGTKImplDC()
{
m_ok = FALSE;
m_brush = *wxWHITE_BRUSH;
}
-void wxDC::DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord height )
+void wxGTKImplDC::DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord height )
{
m_clipping = TRUE;
m_clipX1 = x;
// get DC capabilities
// ---------------------------------------------------------------------------
-void wxDC::DoGetSizeMM( int* width, int* height ) const
+void wxGTKImplDC::DoGetSizeMM( int* width, int* height ) const
{
int w = 0;
int h = 0;
}
// Resolution in pixels per logical inch
-wxSize wxDC::GetPPI() const
+wxSize wxGTKImplDC::GetPPI() const
{
// TODO (should probably be pure virtual)
return wxSize(0, 0);