]> git.saurik.com Git - wxWidgets.git/commitdiff
Added a couple of wxT()
authorOve Kaaven <ovek@arcticnet.no>
Thu, 27 Jan 2000 03:25:23 +0000 (03:25 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Thu, 27 Jan 2000 03:25:23 +0000 (03:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/plot.cpp
src/generic/prop.cpp

index 0bcd6ef4c0dfe5c3b8ea89117bed1d38270d6076..cf2dfddf960875c7e38c9be4a2d241a8a379a5d8 100644 (file)
@@ -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 );
         }
 
index 12d9626903983d16d84c9a564e89e2d43ce0a669..ad6d3b521e20622e4add9c9b2efe9668ec6eb6f7 100644 (file)
@@ -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