X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e992e06a71d90f1df597441af36f69ef390089a..e4e83f385a58f00b1f97315ebd80f380d16ae472:/include/wx/gtk/dcclient.h?ds=sidebyside diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index 7ed817ac56..de91b5c126 100644 --- a/include/wx/gtk/dcclient.h +++ b/include/wx/gtk/dcclient.h @@ -69,6 +69,7 @@ protected: wxCoord *descent = (wxCoord *) NULL, wxCoord *externalLeading = (wxCoord *) NULL, 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 ); @@ -99,8 +100,6 @@ public: virtual void SetDeviceOrigin( wxCoord x, wxCoord y ); virtual void SetAxisOrientation( bool xLeftRight, bool yBottomUp ); - virtual GdkWindow* GetGDKWindow() const { return m_window; } - // protected: // implementation // -------------- @@ -125,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)