X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..2d55af1dfa7fd1cc2df13a6593fd51591cfcfcb1:/include/wx/x11/window.h diff --git a/include/wx/x11/window.h b/include/wx/x11/window.h index a958feb093..ef8e0eb58f 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 = NULL, - int *externalLeading = NULL, - const wxFont *theFont = (const wxFont *) NULL) - const; - virtual void ScrollWindow( int dx, int dy, - const wxRect* rect = NULL ); + virtual void ScrollWindow( int dx, int dy, const wxRect* rect = NULL ); #if wxUSE_DRAG_AND_DROP virtual void SetDropTarget( wxDropTarget *dropTarget ); @@ -89,7 +82,7 @@ public: virtual void DragAcceptFiles(bool accept); // Get the unique identifier of a window - virtual WXWindow GetHandle() const { return GetMainWindow(); } + virtual WXWindow GetHandle() const { return X11GetMainWindow(); } // implementation from now on // -------------------------- @@ -98,7 +91,7 @@ public: // --------- // Get main X11 window - virtual WXWindow GetMainWindow() const; + virtual WXWindow X11GetMainWindow() const; // Get X11 window representing the client area virtual WXWindow GetClientAreaWindow() const; @@ -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;