X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72cdf4c9b3ce92addf09cfb322f0c19bfb0f8744..f1ad10f37305b1e0191827e1f23d6fca944e288c:/include/wx/generic/dcpsg.h diff --git a/include/wx/generic/dcpsg.h b/include/wx/generic/dcpsg.h index 387fda5ade..9ce1a6efe4 100644 --- a/include/wx/generic/dcpsg.h +++ b/include/wx/generic/dcpsg.h @@ -86,6 +86,7 @@ public: void DoDrawBitmap( const wxBitmap& bitmap, wxCoord x, wxCoord y, bool useMask=FALSE ); void DoDrawText(const wxString& text, wxCoord x, wxCoord y ); + void DoDrawRotatedText(const wxString& text, wxCoord x, wxCoord y, double angle); void Clear(); void SetFont( const wxFont& font ); @@ -106,7 +107,7 @@ public: wxCoord GetCharHeight() const; wxCoord GetCharWidth() const; - bool CanGetTextExtent() const { return FALSE; } + bool CanGetTextExtent() const { return TRUE; } void DoGetTextExtent(const wxString& string, wxCoord *x, wxCoord *y, wxCoord *descent = (wxCoord *) NULL, wxCoord *externalLeading = (wxCoord *) NULL,