+ // Call either DoGetTextExtent() or wxDC::GetTextExtent() depending on the
+ // value of m_useDCImpl.
+ //
+ // This must be always used instead of calling DoGetTextExtent() directly!
+ void CallGetTextExtent(const wxString& string,
+ wxCoord *width,
+ wxCoord *height,
+ wxCoord *descent = NULL,
+ wxCoord *externalLeading = NULL);
+
+ // Return a valid font: if one was given to us in the ctor, use this one,
+ // otherwise use the current font of the associated wxDC or wxWindow.
+ wxFont GetFont() const;
+