diff options
author | George Hazan <george.hazan@gmail.com> | 2012-08-09 18:52:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-08-09 18:52:33 +0000 |
commit | f5169e98bde42ee8d13bd96ee2f7f19cf4b39576 (patch) | |
tree | 92516619fc86ff1f67bb841f49f26b17b734cddc /plugins/PluginUpdater/src/Notifications.cpp | |
parent | 352e77858895aaa4d0c072257ed93ce5d78f766b (diff) |
don't display MessageBox on startup when popups aren't istalled
git-svn-id: http://svn.miranda-ng.org/main/trunk@1418 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Notifications.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Notifications.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/Notifications.cpp b/plugins/PluginUpdater/src/Notifications.cpp index 59a2b57735..2b7a4ca923 100644 --- a/plugins/PluginUpdater/src/Notifications.cpp +++ b/plugins/PluginUpdater/src/Notifications.cpp @@ -124,6 +124,8 @@ void ShowPopup(HWND hDlg, LPCTSTR ptszTitle, LPCTSTR ptszText, int Number, int A switch( Number ) {
case 1: iMsgType = MB_ICONSTOP; break;
case 2: iMsgType = MB_ICONINFORMATION; break;
+ case 3: iMsgType = MB_ICONQUESTION; break;
+ case 4: return;
default: iMsgType = 0;
}
MessageBox(hDlg, TranslateTS(ptszText), TranslateTS(ptszTitle), iMsgType);
|