X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d3820b348955b748fa0ab3076f4ed9763ce4bee..d0fff5cb110810d3bee6fa255292f161f7752911:/include/wx/prntbase.h diff --git a/include/wx/prntbase.h b/include/wx/prntbase.h index b713fbc614..be72e1d0f2 100644 --- a/include/wx/prntbase.h +++ b/include/wx/prntbase.h @@ -9,8 +9,8 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __PRNTBASEH__ -#define __PRNTBASEH__ +#ifndef _WX_PRNTBASEH__ +#define _WX_PRNTBASEH__ #ifdef __GNUG__ #pragma interface "prntbase.h" @@ -22,6 +22,7 @@ #include "wx/panel.h" #include "wx/scrolwin.h" #include "wx/dialog.h" +#include "wx/frame.h" class WXDLLEXPORT wxDC; class WXDLLEXPORT wxButton; @@ -94,7 +95,7 @@ class WXDLLEXPORT wxPrintout: public wxObject bool isPreview; public: - wxPrintout(char *title = "Printout"); + wxPrintout(const char *title = "Printout"); ~wxPrintout(void); virtual bool OnBeginDocument(int startPage, int endPage); @@ -332,4 +333,4 @@ public: }; #endif - // __PRNTBASEH__ + // _WX_PRNTBASEH__