UIThreadCall, ThreadSafeMessageBox

This commit is contained in:
s_nakamoto
2009-11-06 18:53:26 +00:00
parent 93cfb02acb
commit 85c33b9602
7 changed files with 46 additions and 1286 deletions

View File

@@ -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;
}