Removed usage of GetInternalFont() from GTK 2.0. This

also removes any usage of GdkFont. I left the actual
    deprecated method so that the change can be bckported
    without binary incompatible changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2003-01-05 22:59:44 +00:00
parent 60d85ccb3d
commit bbd006c0ce
6 changed files with 114 additions and 28 deletions

View File

@@ -1492,6 +1492,10 @@ void wxWindowDC::DoDrawRotatedText( const wxString &text, wxCoord x, wxCoord y,
if (!m_window) return;
#ifdef __WXGTK20__
// implement later without GdkFont for GTK 2.0
return;
#endif
GdkFont *font = m_font.GetInternalFont( m_scaleY );
wxCHECK_RET( font, wxT("invalid font") );