X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3b9f782ef3949f583e8ac53795d36787f044fc3..6cab632f3251ae1117d24544813f47c6597a3b34:/include/wx/motif/window.h diff --git a/include/wx/motif/window.h b/include/wx/motif/window.h index 12760abecb..0069899bff 100644 --- a/include/wx/motif/window.h +++ b/include/wx/motif/window.h @@ -71,12 +71,6 @@ 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 SetScrollbar( int orient, int pos, int thumbVisible, int range, bool refresh = true ); @@ -280,6 +274,11 @@ protected: int m_scrollPosY; // 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; @@ -303,7 +302,7 @@ private: void Init(); DECLARE_DYNAMIC_CLASS(wxWindow) - DECLARE_NO_COPY_CLASS(wxWindow) + wxDECLARE_NO_COPY_CLASS(wxWindow); DECLARE_EVENT_TABLE() };