- rename wxMessageBox, remove redundant arguments to noui/qtui calls
- also, add flag to force blocking, modal dialog box for disk space warning etc
- clarify function naming
- no more special MessageBox needed from AppInit2, as window object is created before calling AppInit2
wxMessageBox(strprintf(_("Cannot obtain a lock on data directory %s. Bitcoin is probably already running."),GetDataDir().c_str()),"Bitcoin");
ThreadSafeMessageBox(strprintf(_("Cannot obtain a lock on data directory %s. Bitcoin is probably already running."),GetDataDir().c_str()),_("Bitcoin"),wxOK|wxMODAL);
wxMessageBox(_("Invalid amount for -paytxfee=<amount>"),"Bitcoin");
ThreadSafeMessageBox(_("Invalid amount for -paytxfee=<amount>"),_("Bitcoin"),wxOK|wxMODAL);
returnfalse;
returnfalse;
}
}
if(nTransactionFee>0.25*COIN)
if(nTransactionFee>0.25*COIN)
wxMessageBox(_("Warning: -paytxfee is set very high. This is the transaction fee you will pay if you send a transaction."),"Bitcoin",wxOK|wxICON_EXCLAMATION);
ThreadSafeMessageBox(_("Warning: -paytxfee is set very high. This is the transaction fee you will pay if you send a transaction."),_("Bitcoin"),wxOK|wxICON_EXCLAMATION|wxMODAL);