Added a couple of wxT()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
2000-01-27 03:25:23 +00:00
parent 7517f8f540
commit 8ca97ad03c
2 changed files with 2 additions and 2 deletions

View File

@@ -438,7 +438,7 @@ void wxPlotWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
{ {
dc.DrawLine( pos.x-15, y, pos.x-7, y ); dc.DrawLine( pos.x-15, y, pos.x-7, y );
wxString label; wxString label;
label.Printf( "%.1f", current ); label.Printf( wxT("%.1f"), current );
dc.DrawText( label, pos.x-45, y-7 ); dc.DrawText( label, pos.x-45, y-7 );
} }

View File

@@ -613,7 +613,7 @@ void wxPropertyValue::operator=(const wxString& val1)
} }
else if (m_type == wxPropertyValueStringPtr) 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) if (val)
*m_value.stringPtr = copystring(val); *m_value.stringPtr = copystring(val);
else else