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
commit8acda009d921a65dab87bd0a40f63981a1586561 (patch)
treea0ecc03e12f81439243bc537e565502ab5af3ba1 /main.cpp
parent300d4608f2504e3e4a02a13b6c6000b52c436975 (diff)
UIThreadCall, ThreadSafeMessageBox
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@34 1a98c847-1fd6-4fd8-948a-caf3550aa51b
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 cc22bad679..e4f1deb841 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;
}