X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4693b20c7500190c3cc8c02919c45436bf5efbc9..f1104df1338dcee773ae7d6363f17c4646878bb6:/samples/font/font.cpp?ds=sidebyside diff --git a/samples/font/font.cpp b/samples/font/font.cpp index 472ac4a4ab..43ef8f5871 100644 --- a/samples/font/font.cpp +++ b/samples/font/font.cpp @@ -10,7 +10,7 @@ ///////////////////////////////////////////////////////////////////////////// // For compilers that support precompilation, includes "wx/wx.h". -#include +#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