X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..0995b9dc18a7ce898c1c1be0e2790b258cab0fee:/include/wx/mgl/window.h diff --git a/include/wx/mgl/window.h b/include/wx/mgl/window.h index 409197a61e..8f72a27476 100644 --- a/include/wx/mgl/window.h +++ b/include/wx/mgl/window.h @@ -74,12 +74,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; #if wxUSE_DRAG_AND_DROP virtual void SetDropTarget(wxDropTarget *dropTarget); @@ -95,8 +89,6 @@ public: // implementation from now on // -------------------------- - void OnInternalIdle(); - protected: virtual void DoFreeze(); virtual void DoThaw(); @@ -110,6 +102,11 @@ protected: int m_eraseBackground; // 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;