]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/font/font.cpp
somehow this got missed on the last commit..
[wxWidgets.git] / samples / font / font.cpp
index 66fc9350d53533dee4eba90beab1d93da1607221..43ef8f587104569e501f8cd1f6082c03f790f5c6 100644 (file)
@@ -662,7 +662,7 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
     PrepareDC(dc);
 
     // set background
-    dc.SetBackground(wxBrush("white", wxSOLID));
+    dc.SetBackground(wxBrush(wxT("white"), wxSOLID));
     dc.Clear();
 
     // output the font name/info