X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8b86d2538a5d5c2f39f2061f57e1b90423f7423..8a1459665d29fb62f9a89571bd6e0a2d27b05cf0:/src/gtk1/dc.cpp?ds=inline diff --git a/src/gtk1/dc.cpp b/src/gtk1/dc.cpp index 6ca04a920e..eb51e38072 100644 --- a/src/gtk1/dc.cpp +++ b/src/gtk1/dc.cpp @@ -10,18 +10,19 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#include "wx/dc.h" +#include "wx/gtk1/dc.h" #include #include //----------------------------------------------------------------------------- -// wxDC +// wxGTKDCImpl //----------------------------------------------------------------------------- -IMPLEMENT_ABSTRACT_CLASS(wxDC, wxDCBase) +IMPLEMENT_ABSTRACT_CLASS(wxGTKDCImpl, wxDCImpl) -wxDC::wxDC() +wxGTKDCImpl::wxGTKDCImpl(wxDC *owner) + : wxDCImpl(owner) { m_ok = FALSE; @@ -32,7 +33,7 @@ wxDC::wxDC() m_brush = *wxWHITE_BRUSH; } -void wxDC::DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord height ) +void wxGTKDCImpl::DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord height ) { m_clipping = TRUE; m_clipX1 = x; @@ -45,7 +46,7 @@ void wxDC::DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord hei // get DC capabilities // --------------------------------------------------------------------------- -void wxDC::DoGetSizeMM( int* width, int* height ) const +void wxGTKDCImpl::DoGetSizeMM( int* width, int* height ) const { int w = 0; int h = 0; @@ -55,7 +56,7 @@ void wxDC::DoGetSizeMM( int* width, int* height ) const } // Resolution in pixels per logical inch -wxSize wxDC::GetPPI() const +wxSize wxGTKDCImpl::GetPPI() const { // TODO (should probably be pure virtual) return wxSize(0, 0);