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:
parent
7517f8f540
commit
8ca97ad03c
@ -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 );
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user