#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); };
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