X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fnoui.h;h=819e9de5d1cec752833d29acf06ab06f5134f862;hb=d11488abd05cb39a9f481e7c4c35f780197a3d28;hp=5f6cc752b0ee1c3c6168bbe4b0faccf7a92d83c7;hpb=21d9f36781604e4ca9fc35dc65265593423b73e9;p=novacoin.git diff --git a/src/noui.h b/src/noui.h index 5f6cc75..819e9de 100644 --- a/src/noui.h +++ b/src/noui.h @@ -1,12 +1,10 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2011 The Bitcoin developers +// 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. +// file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_NOUI_H #define BITCOIN_NOUI_H -#include - #include #include #include "wallet.h" @@ -38,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) { @@ -52,7 +52,7 @@ inline int ThreadSafeMessageBox(const std::string& message, const std::string& c return MyMessageBox(message, caption, style, parent, x, y); } -inline bool ThreadSafeAskFee(int64_t nFeeRequired, const std::string& strCaption, wxWindow* parent) +inline bool ThreadSafeAskFee(int64 nFeeRequired, const std::string& strCaption, wxWindow* parent) { return true; }