aboutsummaryrefslogtreecommitdiff
path: root/ui.h
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2009-11-07 05:05:03 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2009-11-07 05:05:03 +0000
commit1a01afab238cbf48331559f4be4b20f9027c53b4 (patch)
tree057c6725bb6df301d4a2b2793f14d562eb106bb0 /ui.h
parent85c33b960211722e2183e90b2fa0460f5fe52467 (diff)
UI tweaks, use BindListenPort to detect instance already running, setsockopt(SO_REUSEADDR) so can bind during TIME_WAIT after exit and restart
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.h b/ui.h
index 1db40997f4..a919c3668d 100644
--- a/ui.h
+++ b/ui.h
@@ -24,7 +24,7 @@ extern int fMinimizeOnClose;
extern void HandleCtrlA(wxKeyEvent& event);
extern string FormatTxStatus(const CWalletTx& wtx);
-extern void UIThreadCall(boost::function<void ()>);
+extern void UIThreadCall(boost::function0<void>);
extern void MainFrameRepaint();
extern void Shutdown(void* parg);
extern int ThreadSafeMessageBox(const string& message, const string& caption="Message", int style=wxOK, wxWindow* parent=NULL, int x=-1, int y=-1);