X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c54e5eb0f6888c627547f882388df3cd86354a2f..bd278c1bcf25a4eb7910dce69e0c10092d6a933e:/samples/stc/edit.h diff --git a/samples/stc/edit.h b/samples/stc/edit.h index fb4f44989b..b96c9f5790 100644 --- a/samples/stc/edit.h +++ b/samples/stc/edit.h @@ -23,7 +23,7 @@ //! wxWidgets headers //! wxWidgets/contrib headers -#include // styled text control +#include "wx/stc/stc.h" // styled text control //! application headers #include "prefs.h" // preferences @@ -48,7 +48,11 @@ public: Edit (wxWindow *parent, wxWindowID id = wxID_ANY, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, - long style = wxSUNKEN_BORDER|wxVSCROLL + long style = +#ifndef __WXMAC__ + wxSUNKEN_BORDER| +#endif + wxVSCROLL ); //! destructor @@ -148,7 +152,7 @@ class EditPrint: public wxPrintout { public: //! constructor - EditPrint (Edit *edit, wxChar *title = _T("")); + EditPrint (Edit *edit, const wxChar *title = _T("")); //! event handlers bool OnPrintPage (int page);