Mercurial > dwindows
diff win/wintoast.cpp @ 2625:2e804b4db81e
Win: Standardize internal function name style...
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 27 Jul 2021 23:09:52 +0000 |
parents | 663467f6eee4 |
children |
line wrap: on
line diff
--- a/win/wintoast.cpp Mon Jul 26 23:39:24 2021 +0000 +++ b/win/wintoast.cpp Tue Jul 27 23:09:52 2021 +0000 @@ -6,7 +6,7 @@ using namespace WinToastLib; extern "C" { - LRESULT CALLBACK _wndproc(HWND hWnd, UINT msg, WPARAM mp1, LPARAM mp2); + LRESULT CALLBACK _dw_wndproc(HWND hWnd, UINT msg, WPARAM mp1, LPARAM mp2); } class DWHandler : public IWinToastHandler { @@ -15,14 +15,14 @@ void toastActivated() const { // The user clicked in this toast - _wndproc((HWND)templ, WM_USER+102, 0, 0); + _dw_wndproc((HWND)templ, WM_USER+102, 0, 0); dw_signal_disconnect_by_window((HWND)templ); delete templ; } void toastActivated(int actionIndex) const { // The user clicked on action - _wndproc((HWND)templ, WM_USER+102, 0, 0); + _dw_wndproc((HWND)templ, WM_USER+102, 0, 0); dw_signal_disconnect_by_window((HWND)templ); delete templ; }