From: Ove Kaaven Date: Thu, 27 Jan 2000 03:25:23 +0000 (+0000) Subject: Added a couple of wxT() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8ca97ad03c980fa2978a770e228dba6389c5fcac Added a couple of wxT() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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