]> git.saurik.com Git - wxWidgets.git/commitdiff
build fix (the sample uses an undocumented function of wxFont)
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 3 Nov 2008 19:32:23 +0000 (19:32 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 3 Nov 2008 19:32:23 +0000 (19:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/printing/printing.cpp

index 0b4c31acccc4cfaf8ad22f6d24947be3e435df37..c41b5cfe95832538f52d17623c4dfa44b7731e60 100644 (file)
@@ -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