X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/847dfdb422c4d56bb56d3c92a9cd706ee2b45530..210bb741b94a7a4a015de730017c3576afe7a8f1:/include/wx/gtk/dcclient.h diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index ac3208bda3..3873241c17 100644 --- a/include/wx/gtk/dcclient.h +++ b/include/wx/gtk/dcclient.h @@ -68,7 +68,8 @@ protected: wxCoord *width, wxCoord *height, wxCoord *descent = (wxCoord *) NULL, wxCoord *externalLeading = (wxCoord *) NULL, - wxFont *theFont = (wxFont *) NULL) const; + const wxFont *theFont = (wxFont *) NULL) const; + virtual bool DoGetPartialTextExtents(const wxString& text, wxArrayInt& widths) const; virtual void DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord height ); virtual void DoSetClippingRegionAsRegion( const wxRegion ®ion ); @@ -123,10 +124,9 @@ public: void SetUpDC(); void Destroy(); -protected: virtual void ComputeScaleAndOrigin(); - GdkWindow *GetWindow() { return m_window; } + virtual GdkWindow *GetGDKWindow() const { return m_window; } private: DECLARE_DYNAMIC_CLASS(wxWindowDC)