diff --git a/README.md b/README.md new file mode 100644 index 0000000..17abf73 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +#Tyro + +A Cross-platform Code Editor + +### Planned Features + +* Syntax Highlighting +* Line Numbers +* Custom Syntax themes +* SFTP editing + +### Building +* Make sure wxWidgets is installed, version 2.8 or 3 +* Open the Code::Blocks project and compile diff --git a/TyroMain.cpp b/TyroMain.cpp index bc29ad4..9e57854 100644 --- a/TyroMain.cpp +++ b/TyroMain.cpp @@ -50,15 +50,18 @@ END_EVENT_TABLE() TyroFrame::TyroFrame(wxFrame *frame, const wxString& title) : wxFrame(frame, -1, title) { -// create a menu bar + // create a menu bar wxMenuBar* mbar = new wxMenuBar(); wxMenu* fileMenu = new wxMenu(_T("")); + wxMenu* editMenu = new wxMenu(_T("")); + fileMenu->Append(wxID_EXIT, _("&Quit\tAlt-F4"), _("Quit the application")); mbar->Append(fileMenu, _("&File")); wxMenu* helpMenu = new wxMenu(_T("")); helpMenu->Append(wxID_ABOUT, _("&About\tF1"), _("Show info about this application")); + mbar->Append(editMenu, _("&Edit")); mbar->Append(helpMenu, _("&Help")); #ifdef __WXMAC__