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