X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6adaedf0fc6607ee5bb4e86358396e5e07c6649f..b911bc32a17f592214fcc37bb942ad3f355e6893:/samples/printing/printing.h?ds=sidebyside diff --git a/samples/printing/printing.h b/samples/printing/printing.h index 13933bb91f..46276c2428 100644 --- a/samples/printing/printing.h +++ b/samples/printing/printing.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#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);