1 // Copyright (c) 2010 Satoshi Nakamoto
2 // Distributed under the MIT/X11 software license, see the accompanying
3 // file license.txt or http://www.opensource.org/licenses/mit-license.php.
6 inline int MyMessageBox(const string& message, const string& caption="Message", int style=4, void* parent=NULL, int x=-1, int y=-1)
8 printf("%s: %s\n", caption.c_str(), message.c_str());
9 fprintf(stderr, "%s: %s\n", caption.c_str(), message.c_str());
12 #define wxMessageBox MyMessageBox
14 inline int ThreadSafeMessageBox(const string& message, const string& caption, int style, void* parent, int x, int y)
16 return MyMessageBox(message, caption, style, parent, x, y);
19 inline bool ThreadSafeAskFee(int64 nFeeRequired, const string& strCaption, void* parent)
24 inline void CalledSetStatusBar(const string& strText, int nField)
28 inline void UIThreadCall(boost::function0<void> fn)
32 inline void MainFrameRepaint()