X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fnoui.h;h=8888db69f8f1b20f237641696985de56e3df8711;hb=fe1725a141334dab82ca007fb6fc983c358e35b2;hp=afb19526c11615b3a277e2911bd7c6b686887fa8;hpb=223b6f1ba4819e9a146e7aa451d546726d0bc714;p=novacoin.git diff --git a/src/noui.h b/src/noui.h index afb1952..8888db6 100644 --- a/src/noui.h +++ b/src/noui.h @@ -1,10 +1,13 @@ // Copyright (c) 2010 Satoshi Nakamoto +// Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file license.txt or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_NOUI_H #define BITCOIN_NOUI_H #include +#include +#include "wallet.h" typedef void wxWindow; #define wxYES 0x00000002 @@ -33,6 +36,8 @@ typedef void wxWindow; #define wxHELP 0x00008000 #define wxMORE 0x00010000 #define wxSETUP 0x00020000 +// Force blocking, modal message box dialog (not just notification) +#define wxMODAL 0x00040000 inline int MyMessageBox(const std::string& message, const std::string& caption="Message", int style=wxOK, wxWindow* parent=NULL, int x=-1, int y=-1) { @@ -64,4 +69,8 @@ inline void MainFrameRepaint() { } +inline void InitMessage(const std::string &message) +{ +} + #endif