From 4b905cbcb6c648f83fd4f665def3845b365b1fa2 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Mon, 3 Nov 2008 19:32:23 +0000 Subject: [PATCH] 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 --- samples/printing/printing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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