X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..f0368d28bf125cdc851e65e1ea215651f19453d2:/include/wx/x11/window.h diff --git a/include/wx/x11/window.h b/include/wx/x11/window.h index b28d6706e5..999280c703 100644 --- a/include/wx/x11/window.h +++ b/include/wx/x11/window.h @@ -71,15 +71,8 @@ public: virtual int GetCharHeight() const; virtual int GetCharWidth() const; - virtual void GetTextExtent(const wxString& string, - int *x, int *y, - int *descent = (int *) NULL, - int *externalLeading = (int *) NULL, - const wxFont *theFont = (const wxFont *) NULL) - const; - virtual void ScrollWindow( int dx, int dy, - const wxRect* rect = (wxRect *) NULL ); + virtual void ScrollWindow( int dx, int dy, const wxRect* rect = NULL ); #if wxUSE_DRAG_AND_DROP virtual void SetDropTarget( wxDropTarget *dropTarget ); @@ -165,6 +158,11 @@ protected: bool m_needsInputFocus; // Input focus set in OnIdle // implement the base class pure virtuals + virtual void DoGetTextExtent(const wxString& string, + int *x, int *y, + int *descent = NULL, + int *externalLeading = NULL, + const wxFont *font = NULL) const; virtual void DoClientToScreen( int *x, int *y ) const; virtual void DoScreenToClient( int *x, int *y ) const; virtual void DoGetPosition( int *x, int *y ) const; @@ -190,7 +188,7 @@ private: void Init(); DECLARE_DYNAMIC_CLASS(wxWindowX11) - DECLARE_NO_COPY_CLASS(wxWindowX11) + wxDECLARE_NO_COPY_CLASS(wxWindowX11); DECLARE_EVENT_TABLE() };