diff --git a/samples/stc/edit.h b/samples/stc/edit.h index 4a7ecf79d1..c007173271 100644 --- a/samples/stc/edit.h +++ b/samples/stc/edit.h @@ -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