X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fnoui.h;h=4ba496bf78b9877aefb3dff2ead756128a0132e9;hb=b2de28c74040595fa3fe5353ea063a8c3874f6b1;hp=d0072df7f22942b765051790045c0679be08a8cb;hpb=e8ef3da7133dd9fc411fa8b3cc8b8fc2f9c58a98;p=novacoin.git diff --git a/src/noui.h b/src/noui.h index d0072df..4ba496b 100644 --- a/src/noui.h +++ b/src/noui.h @@ -1,6 +1,7 @@ // Copyright (c) 2010 Satoshi Nakamoto +// Copyright (c) 2011 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 @@ -35,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) { @@ -66,4 +69,8 @@ inline void MainFrameRepaint() { } +inline void InitMessage(const std::string &message) +{ +} + #endif