]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/statbar/statbar.cpp
mingw compilation fix
[wxWidgets.git] / samples / statbar / statbar.cpp
index 588d97b2f5953f68692da2c07e613032945ee8e8..1d9ded23ac93dfa46f5bedabf31151da8a664ccb 100644 (file)
@@ -353,11 +353,12 @@ void MyFrame::OnSetStatusFields(wxCommandEvent& WXUNUSED(event))
         sb->SetFieldsCount(nFields, widths);
 
         wxLogStatus(this,
-                    wxString::Format("Status bar now has %ld fields", nFields));
+                    wxString::Format(wxT("Status bar now has %ld fields"),
+                                     nFields));
     }
     else
     {
-        wxLogStatus(this, "Cancelled");
+        wxLogStatus(this, wxT("Cancelled"));
     }
 }