diff options
Diffstat (limited to 'plugins/TabSRMM/src/sendqueue.cpp')
-rw-r--r-- | plugins/TabSRMM/src/sendqueue.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/sendqueue.cpp b/plugins/TabSRMM/src/sendqueue.cpp index e009e98496..fe4d158e73 100644 --- a/plugins/TabSRMM/src/sendqueue.cpp +++ b/plugins/TabSRMM/src/sendqueue.cpp @@ -517,11 +517,9 @@ int SendQueue::ackMessage(CMsgDialog *dat, WPARAM wParam, LPARAM lParam) return 0;
}
-LRESULT SendQueue::WarnPendingJobs(unsigned int)
+LRESULT SendQueue::WarnPendingJobs()
{
- return MessageBox(nullptr,
- TranslateT("There are unsent messages waiting for confirmation.\nIf you close the window now, Miranda will try to send them but may be unable to inform you about possible delivery errors.\nDo you really want to close the window(s)?"),
- TranslateT("Message window warning"), MB_YESNO | MB_ICONHAND);
+ return CWarning::show(CWarning::WARN_SEND_ERROR, MB_YESNO | MB_ICONHAND);
}
/////////////////////////////////////////////////////////////////////////////////////////
|