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
void OnSetReadOnly (wxCommandEvent &event);
void OnWrapmodeOn (wxCommandEvent &event);
void OnUseCharset (wxCommandEvent &event);
+ // annotations
+ void OnAnnotationAdd(wxCommandEvent& event);
+ void OnAnnotationRemove(wxCommandEvent& event);
+ void OnAnnotationClear(wxCommandEvent& event);
+ void OnAnnotationStyle(wxCommandEvent& event);
//! extra
void OnChangeCase (wxCommandEvent &event);
void OnConvertEOL (wxCommandEvent &event);
// stc
void OnMarginClick (wxStyledTextEvent &event);
void OnCharAdded (wxStyledTextEvent &event);
+ void OnKey (wxStyledTextEvent &event);
//! language/lexer
wxString DeterminePrefs (const wxString &filename);
public:
//! constructor
- EditPrint (Edit *edit, wxChar *title = _T(""));
+ EditPrint (Edit *edit, const wxChar *title = wxT(""));
//! event handlers
bool OnPrintPage (int page);