From 8a9b920a5e98196fa33d7642174597887b8c94f9 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Mon, 26 Dec 2022 16:46:05 +0100 Subject: Improve UI --- src/ochess.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ochess.hpp') 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 #include // Check file exists etc #include +#include #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)) { \ -- cgit v1.2.3