diff --git a/src/generic/plot.cpp b/src/generic/plot.cpp index 0bcd6ef4c0..cf2dfddf96 100644 --- a/src/generic/plot.cpp +++ b/src/generic/plot.cpp @@ -438,7 +438,7 @@ void wxPlotWindow::OnPaint( wxPaintEvent &WXUNUSED(event) ) { dc.DrawLine( pos.x-15, y, pos.x-7, y ); wxString label; - label.Printf( "%.1f", current ); + label.Printf( wxT("%.1f"), current ); dc.DrawText( label, pos.x-45, y-7 ); } diff --git a/src/generic/prop.cpp b/src/generic/prop.cpp index 12d9626903..ad6d3b521e 100644 --- a/src/generic/prop.cpp +++ b/src/generic/prop.cpp @@ -613,7 +613,7 @@ void wxPropertyValue::operator=(const wxString& val1) } else if (m_type == wxPropertyValueStringPtr) { - wxFAIL_MSG( "Shouldn't try to assign a wxString reference to a char* pointer."); + wxFAIL_MSG( wxT("Shouldn't try to assign a wxString reference to a char* pointer.") ); if (val) *m_value.stringPtr = copystring(val); else