X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b822969a677939811d9fb966177031fb5fc625b..e7492fa205a0a8a548aa437629636a42269c7b88:/samples/printing/printing.cpp 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