]> 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 472ac4a4ab9124a9a39c765546fb755a3a1e0ca7..43ef8f587104569e501f8cd1f6082c03f790f5c6 100644 (file)
@@ -10,7 +10,7 @@
 /////////////////////////////////////////////////////////////////////////////
 
 // For compilers that support precompilation, includes "wx/wx.h".
-#include <wx/wxprec.h>
+#include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
     #pragma hdrstop
@@ -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