From: Francesco Montorsi Date: Mon, 3 Nov 2008 19:32:23 +0000 (+0000) Subject: build fix (the sample uses an undocumented function of wxFont) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4b905cbcb6c648f83fd4f665def3845b365b1fa2?ds=inline build fix (the sample uses an undocumented function of wxFont) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/printing/printing.cpp b/samples/printing/printing.cpp index 0b4c31accc..c41b5cfe95 100644 --- a/samples/printing/printing.cpp +++ b/samples/printing/printing.cpp @@ -80,7 +80,7 @@ bool MyApp::OnInit(void) wxInitAllImageHandlers(); - m_testFont.Create(10, wxSWISS, wxNORMAL, wxNORMAL); + m_testFont.Create(10, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL); g_printData = new wxPrintData; // You could set an initial paper size here