X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/788233da909b0f6bc684a99200c614e3dee2aa20..be43ef045a3bc040da1173d526d95347e7902216:/samples/printing/printing.h diff --git a/samples/printing/printing.h b/samples/printing/printing.h index 927676794c..8361d5a882 100644 --- a/samples/printing/printing.h +++ b/samples/printing/printing.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: printing.h -// Purpose: Printing demo for wxWindows +// Purpose: Printing demo for wxWidgets // Author: Julian Smart // Modified by: // Created: 1995 @@ -21,7 +21,7 @@ class MyApp: public wxApp bool OnInit(); int OnExit(); - wxFont* m_testFont; + wxFont m_testFont; }; DECLARE_APP(MyApp) @@ -70,7 +70,7 @@ DECLARE_EVENT_TABLE() class MyPrintout: public wxPrintout { public: - MyPrintout(char *title = "My printout"):wxPrintout(title) {} + MyPrintout(wxChar *title = _T("My printout")):wxPrintout(title) {} bool OnPrintPage(int page); bool HasPage(int page); bool OnBeginDocument(int startPage, int endPage);