X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bbe427f8e5a2078b266e282453595b5a634d35c..1b3667ab28da7b78b49813b99047221e03a69b62:/src/gtk/pen.cpp?ds=sidebyside diff --git a/src/gtk/pen.cpp b/src/gtk/pen.cpp index 8402796a46..1e2205e78d 100644 --- a/src/gtk/pen.cpp +++ b/src/gtk/pen.cpp @@ -14,6 +14,8 @@ #include "wx/pen.h" +#include "gdk/gdk.h" + //----------------------------------------------------------------------------- // wxPen //----------------------------------------------------------------------------- @@ -136,35 +138,35 @@ void wxPen::SetWidth( int width ) int wxPen::GetCap() const { - wxCHECK_MSG( Ok(), -1, "invalid pen" ); + wxCHECK_MSG( Ok(), -1, _T("invalid pen") ); return M_PENDATA->m_capStyle; } int wxPen::GetJoin() const { - wxCHECK_MSG( Ok(), -1, "invalid pen" ); + wxCHECK_MSG( Ok(), -1, _T("invalid pen") ); return M_PENDATA->m_joinStyle; } int wxPen::GetStyle() const { - wxCHECK_MSG( Ok(), -1, "invalid pen" ); + wxCHECK_MSG( Ok(), -1, _T("invalid pen") ); return M_PENDATA->m_style; } int wxPen::GetWidth() const { - wxCHECK_MSG( Ok(), -1, "invalid pen" ); + wxCHECK_MSG( Ok(), -1, _T("invalid pen") ); return M_PENDATA->m_width; } wxColour &wxPen::GetColour() const { - wxCHECK_MSG( Ok(), wxNullColour, "invalid pen" ); + wxCHECK_MSG( Ok(), wxNullColour, _T("invalid pen") ); return M_PENDATA->m_colour; }