mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-11 18:28:57 -04:00
Crated messagebox for no devices
This commit is contained in:
+5
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user