X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/10b959e3729a77b95ab15614d1bdce74da327d8b..527fc629c8c7d6eaf06d69ef9c3b3f702214b722:/include/wx/postscrp.h diff --git a/include/wx/postscrp.h b/include/wx/postscrp.h index 352096a75d..3c8a2e39af 100644 --- a/include/wx/postscrp.h +++ b/include/wx/postscrp.h @@ -64,7 +64,7 @@ class WXDLLEXPORT wxPostScriptDC: public wxDC // RR: I define these in wxDC, after all they all do the same everywhere -#ifdef __WINDOWS__ +#ifdef __WXMSW__ // Splines // 3-point spline void DrawSpline(long x1, long y1, long x2, long y2, long x3, long y3); @@ -151,7 +151,7 @@ DECLARE_CLASS(wxPostScriptPrintDialog) public: wxPostScriptPrintDialog (wxWindow *parent, const wxString& title, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - const long style = wxDEFAULT_DIALOG_STYLE); + long style = wxDEFAULT_DIALOG_STYLE); virtual int ShowModal(void) ; }; @@ -284,7 +284,7 @@ class WXDLLEXPORT wxPrintPaperDatabase: public wxList void ClearDatabase(void); void AddPaperType(char *name, int wmm, int hmm, int wp, int hp); - wxPrintPaperType *FindPaperType(char *name); + wxPrintPaperType *FindPaperType(const char *name); }; WXDLLEXPORT_DATA(extern wxPrintPaperDatabase*) wxThePrintPaperDatabase;