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
// 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);