aboutsummaryrefslogtreecommitdiff
path: root/src/ochess.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-12-26 16:46:05 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-12-26 16:46:05 +0100
commit8a9b920a5e98196fa33d7642174597887b8c94f9 (patch)
treeeab7abfbc155708c798c4957908ffb9d99eab5a7 /src/ochess.hpp
parent5a4ec5d1e856f34503f89e1ed206df1ff934eae4 (diff)
Improve UI
Diffstat (limited to 'src/ochess.hpp')
-rw-r--r--src/ochess.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ochess.hpp b/src/ochess.hpp
index 2692521..22be496 100644
--- a/src/ochess.hpp
+++ b/src/ochess.hpp
@@ -12,6 +12,7 @@
#include <wx/config.h>
#include <wx/filefn.h> // Check file exists etc
#include <wx/log.h>
+#include <wx/busyinfo.h>
#define MAINWIN ((MainWindow *)wxGetApp().GetTopWindow())
@@ -22,6 +23,7 @@
dial->ShowModal(); \
}
#define SHOW_DIALOG_INFO(message) {wxMessageBox( wxT(message) );}
+#define SHOW_DIALOG_BUSY(message) {wxBusyInfo wait(message);}
#define REQUIRE_FILE(file) \
{ \
if (!wxFileExists(file)) { \