Crated messagebox for no devices

This commit is contained in:
corne lukken
2015-05-26 15:23:13 +02:00
parent 9b1f6d7b6d
commit daeb2d5a18
3 changed files with 15 additions and 2 deletions
+5 -1
View File
@@ -306,7 +306,6 @@ AppFrame::AppFrame() :
}
AppFrame::~AppFrame() {
}
void AppFrame::OnMenu(wxCommandEvent& event) {
@@ -688,3 +687,8 @@ 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();
}