X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e306597309a120f2ae91385c731a5cb2722c52aa..b911bc32a17f592214fcc37bb942ad3f355e6893:/samples/printing/printing.h diff --git a/samples/printing/printing.h b/samples/printing/printing.h index d9df02dfbb..46276c2428 100644 --- a/samples/printing/printing.h +++ b/samples/printing/printing.h @@ -1,15 +1,15 @@ -/* - * File: printing.h - * Purpose: Printing demo for wxWindows class library - * Author: Julian Smart - * Created: 1995 - * Updated: - * Copyright: (c) 1995, AIAI, University of Edinburgh - */ - -/* sccsid[] = "%W% %G%" */ - -#ifdef __GNUG__ +///////////////////////////////////////////////////////////////////////////// +// Name: printing.h +// Purpose: Printing demo for wxWindows +// Author: Julian Smart +// Modified by: +// Created: 1995 +// RCS-ID: $Id$ +// Copyright: (c) Julian Smart +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif @@ -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);