X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04ab8b6ddfa26fbabeadad36966a21a42fe649b1..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/gtk/dc.h?ds=sidebyside diff --git a/include/wx/gtk/dc.h b/include/wx/gtk/dc.h index 48503572df..07e9a26851 100644 --- a/include/wx/gtk/dc.h +++ b/include/wx/gtk/dc.h @@ -10,15 +10,22 @@ #ifndef __GTKDCH__ #define __GTKDCH__ + //----------------------------------------------------------------------------- // wxDC //----------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxDC : public wxDCBase +#if wxUSE_NEW_DC +class WXDLLIMPEXP_CORE wxGTKImplDC : public wxDC +#else +#define wxGTKImplDC wxDC +class WXDLLIMPEXP_CORE wxGTKImplDC : public wxDCBase +#endif + { public: - wxDC(); - virtual ~wxDC() { } + wxGTKImplDC(); + virtual ~wxGTKImplDC() { } #if wxUSE_PALETTE void SetColourMap( const wxPalette& palette ) { SetPalette(palette); }; @@ -50,7 +57,7 @@ protected: virtual void DoGetSizeMM(int* width, int* height) const; private: - DECLARE_ABSTRACT_CLASS(wxDC) + DECLARE_ABSTRACT_CLASS(wxGTKImplDC) }; // this must be defined when wxDC::Blit() honours the DC origian and needed to