X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cac7ac30cb21a3108a3c1de58e7de15ad01ed1cf..26e422a9adf74e0744a83f2647de4714f13786d3:/samples/printing/printing.h diff --git a/samples/printing/printing.h b/samples/printing/printing.h index fc10ad5f1b..f3c2b6d98c 100644 --- a/samples/printing/printing.h +++ b/samples/printing/printing.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - // Define a new application class MyApp: public wxApp { @@ -72,7 +68,7 @@ DECLARE_EVENT_TABLE() class MyPrintout: public wxPrintout { public: - MyPrintout(wxChar *title = _T("My printout")):wxPrintout(title) {} + MyPrintout(const wxChar *title = _T("My printout")):wxPrintout(title) {} bool OnPrintPage(int page); bool HasPage(int page); bool OnBeginDocument(int startPage, int endPage);