|
|
|
@ -1489,10 +1489,10 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
SCNotification scnN;
|
|
|
|
|
scnN.nmhdr.code = NPPN_BEFORESHUTDOWN;
|
|
|
|
|
scnN.nmhdr.hwndFrom = _pPublicInterface->getHSelf();
|
|
|
|
|
scnN.nmhdr.idFrom = 0;
|
|
|
|
|
SCNotification scnN;
|
|
|
|
|
scnN.nmhdr.code = NPPN_BEFORESHUTDOWN;
|
|
|
|
|
scnN.nmhdr.hwndFrom = _pPublicInterface->getHSelf();
|
|
|
|
|
scnN.nmhdr.idFrom = 0;
|
|
|
|
|
_pluginsManager.notify(&scnN);
|
|
|
|
|
|
|
|
|
|
if (_pTrayIco)
|
|
|
|
@ -1522,7 +1522,7 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
|
|
|
|
|
if (!allClosed)
|
|
|
|
|
{
|
|
|
|
|
//User cancelled the shutdown
|
|
|
|
|
scnN.nmhdr.code = NPPN_CANCELSHUTDOWN;
|
|
|
|
|
scnN.nmhdr.code = NPPN_CANCELSHUTDOWN;
|
|
|
|
|
_pluginsManager.notify(&scnN);
|
|
|
|
|
|
|
|
|
|
return FALSE;
|
|
|
|
|