X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95724b1aa2f7248091cdec506d4678b4fbcea20d..52130557bfa9d969c7c274bebbf7afc2e496321d:/include/wx/gtk1/dcclient.h diff --git a/include/wx/gtk1/dcclient.h b/include/wx/gtk1/dcclient.h index 0142e694c7..a70c424edb 100644 --- a/include/wx/gtk1/dcclient.h +++ b/include/wx/gtk1/dcclient.h @@ -40,6 +40,7 @@ public: virtual bool CanDrawBitmap() const { return TRUE; } virtual bool CanGetTextExtent() const { return TRUE; } +//protected: virtual void DoFloodFill( wxCoord x, wxCoord y, const wxColour& col, int style=wxFLOOD_SURFACE ); virtual bool DoGetPixel( wxCoord x1, wxCoord y1, wxColour *col ) const; @@ -115,13 +116,15 @@ public: GdkColormap *m_cmap; bool m_isMemDC; wxWindow *m_owner; + wxRegion m_currentClippingRegion; + wxRegion m_paintClippingRegion; void SetUpDC(); void Destroy(); void ComputeScaleAndOrigin(); GdkWindow *GetWindow() { return m_window; } - + private: DECLARE_DYNAMIC_CLASS(wxWindowDC) }; @@ -135,7 +138,7 @@ class wxPaintDC : public wxWindowDC public: wxPaintDC(); wxPaintDC( wxWindow *win ); - + private: DECLARE_DYNAMIC_CLASS(wxPaintDC) }; @@ -149,7 +152,7 @@ class wxClientDC : public wxWindowDC public: wxClientDC(); wxClientDC( wxWindow *win ); - + private: DECLARE_DYNAMIC_CLASS(wxClientDC) };