Added "Preferences" menu item

This commit is contained in:
2015-06-18 13:56:08 +03:00
parent 83efb62a9f
commit 32e5770be9
7 changed files with 30 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ void MainFrame::onOpenGridClick(wxCommandEvent &event) {
// this can be done with e.g. wxWidgets input streams:
wxFileInputStream input_stream(dlgOpen.GetPath());
if ( !input_stream.IsOk() ) {
wxLogError(_("Cannot open file ")+dlgOpen.GetPath());
wxLogError(_("Cannot open file ") + dlgOpen.GetPath());
return;
}
tPath->SetValue(dlgOpen.GetPath());
@@ -177,6 +177,10 @@ void MainFrame::onExportClick(wxCommandEvent& event) {
wxLogDebug(wxT("Exporting to ") + dlgSave.GetPath() + wxT(" is complete"));
}
void MainFrame::onPreferencesClick( wxCommandEvent& event ){
}
class MyApp: public wxApp {
public:
bool OnInit();