Correction to position of rotated text.
Apps no longer give warnings if only a dialog pops up (top level windows == 0) before main loop. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -830,8 +830,8 @@ void wxWindowDC::DoDrawRotatedText( const wxString &text, wxCoord x, wxCoord y,
|
||||
|
||||
wxCHECK_RET( font, wxT("invalid font") );
|
||||
|
||||
x = XLOG2DEV(x);
|
||||
y = YLOG2DEV(y);
|
||||
// x = XLOG2DEV(x);
|
||||
// y = YLOG2DEV(y);
|
||||
|
||||
int cx = gdk_string_width( font, text.mbc_str() );
|
||||
int cy = font->ascent + font->descent;
|
||||
|
Reference in New Issue
Block a user