aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2009-11-06 18:53:26 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2009-11-06 18:53:26 +0000
commit85c33b960211722e2183e90b2fa0460f5fe52467 (patch)
treea0ecc03e12f81439243bc537e565502ab5af3ba1 /main.cpp
parentgot rid of CheckForShutdown, replaced some thread-unsafe wxWidgets calls, Lin... (diff)
downloaddiscoin-85c33b960211722e2183e90b2fa0460f5fe52467.tar.xz
discoin-85c33b960211722e2183e90b2fa0460f5fe52467.zip
UIThreadCall, ThreadSafeMessageBox
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index cc22bad67..e4f1deb84 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1381,7 +1381,7 @@ bool CheckDiskSpace(int64 nAdditionalBytes)
if (nFreeBytesAvailable < (int64)15000000 + nAdditionalBytes)
{
fShutdown = true;
- wxMessageBox("Warning: Your disk space is low ", "Bitcoin", wxICON_EXCLAMATION);
+ ThreadSafeMessageBox("Warning: Your disk space is low ", "Bitcoin", wxOK | wxICON_EXCLAMATION);
_beginthread(Shutdown, 0, NULL);
return false;
}