X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72cdf4c9b3ce92addf09cfb322f0c19bfb0f8744..9398120d298d745763f253d87d774be3b134b43f:/include/wx/gtk1/dc.h diff --git a/include/wx/gtk1/dc.h b/include/wx/gtk1/dc.h index c44beb9c53..bf3526f704 100644 --- a/include/wx/gtk1/dc.h +++ b/include/wx/gtk1/dc.h @@ -40,8 +40,6 @@ class wxDC; class wxDC : public wxDCBase { - DECLARE_ABSTRACT_CLASS(wxDC) - public: wxDC(); ~wxDC() { } @@ -136,7 +134,6 @@ public: protected: // base class pure virtuals implemented here virtual void DoSetClippingRegion(wxCoord x, wxCoord y, wxCoord width, wxCoord height); - virtual void DoGetSize(int *width, int *height) const; virtual void DoGetSizeMM(int* width, int* height) const; public: @@ -150,7 +147,16 @@ public: bool m_needComputeScaleX, m_needComputeScaleY; // not yet used - float m_scaleFactor; // wxPSDC wants to have this. Will disappear. + +private: + DECLARE_ABSTRACT_CLASS(wxDC) }; +// this must be defined when wxDC::Blit() honours the DC origian and needed to +// allow wxUniv code in univ/winuniv.cpp to work with versions of wxGTK +// 2.3.[23] +#ifndef wxHAS_WORKING_GTK_DC_BLIT + #define wxHAS_WORKING_GTK_DC_BLIT +#endif + #endif // __GTKDCH__