diff --git a/src/AppFrame.cpp b/src/AppFrame.cpp index 7aa8d0d..8d26fff 100644 --- a/src/AppFrame.cpp +++ b/src/AppFrame.cpp @@ -687,8 +687,3 @@ bool AppFrame::loadSession(std::string fileName) { return true; } - -void AppFrame::OnMessage(std::string text, std::string title) { - wxMessageDialog *message = new wxMessageDialog(NULL, wxString::Format(text.c_str()), wxString::Format(title.c_str()), wxOK | wxICON_ERROR ); - message->ShowModal(); -} diff --git a/src/AppFrame.h b/src/AppFrame.h index b60f5c9..cadb4fa 100644 --- a/src/AppFrame.h +++ b/src/AppFrame.h @@ -51,8 +51,6 @@ public: void saveSession(std::string fileName); bool loadSession(std::string fileName); - void OnMessage(std::string message, std::string title); - private: void OnMenu(wxCommandEvent& event); void OnClose(wxCommandEvent& event);