#include "wx/dcmemory.h"
#include "wx/image.h"
#include "wx/gtk/win_gtk.h"
-#include <math.h> // for floating-point functions
-#include "gdk/gdk.h"
-#include "gtk/gtk.h"
+#include <math.h> // for floating-point functions
+#include <gdk/gdk.h>
+#include <gtk/gtk.h>
//-----------------------------------------------------------------------------
// local data
wxCoord wxWindowDC::GetCharWidth() const
{
GdkFont *font = m_font.GetInternalFont( m_scaleY );
- wxCHECK_MSG( font, -1, _T("invalid font") );
+ wxCHECK_MSG( font, -1, wxT("invalid font") );
return wxCoord(gdk_string_width( font, "H" ) / m_scaleX);
}
wxCoord wxWindowDC::GetCharHeight() const
{
GdkFont *font = m_font.GetInternalFont( m_scaleY );
- wxCHECK_MSG( font, -1, _T("invalid font") );
+ wxCHECK_MSG( font, -1, wxT("invalid font") );
return wxCoord((font->ascent + font->descent) / m_scaleY);
}