X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/debe6624c1e9d4bf3243381153d1e173c849bcd8..637f467a0639bf942ebeb466d056fa339bfdbdee:/include/wx/postscrp.h diff --git a/include/wx/postscrp.h b/include/wx/postscrp.h index 16f231d2c8..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); @@ -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;