X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/522a028a174e59d7ac26bd07ae30fd25d6287280..4e15d1caa03346c126015019c1fdf093033ef40b:/samples/stc/edit.h?ds=inline diff --git a/samples/stc/edit.h b/samples/stc/edit.h index b96c9f5790..d22222f67c 100644 --- a/samples/stc/edit.h +++ b/samples/stc/edit.h @@ -48,7 +48,7 @@ public: Edit (wxWindow *parent, wxWindowID id = wxID_ANY, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, - long style = + long style = #ifndef __WXMAC__ wxSUNKEN_BORDER| #endif @@ -97,6 +97,7 @@ public: // stc void OnMarginClick (wxStyledTextEvent &event); void OnCharAdded (wxStyledTextEvent &event); + void OnKey (wxStyledTextEvent &event); //! language/lexer wxString DeterminePrefs (const wxString &filename); @@ -152,7 +153,7 @@ class EditPrint: public wxPrintout { public: //! constructor - EditPrint (Edit *edit, const wxChar *title = _T("")); + EditPrint (Edit *edit, const wxChar *title = wxT("")); //! event handlers bool OnPrintPage (int page);