From d8a04c5705daabf882bcb3c77a85a95e59b1ee2c Mon Sep 17 00:00:00 2001 From: cxl Date: Thu, 4 Apr 2019 20:52:20 +0000 Subject: [PATCH] CtrlLib: Win32 TrayIcon::WindowProc now protected git-svn-id: svn://ultimatepp.org/upp/trunk@12944 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CtrlLib/CtrlUtil.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uppsrc/CtrlLib/CtrlUtil.h b/uppsrc/CtrlLib/CtrlUtil.h index 2c996c6e0..db6192b65 100644 --- a/uppsrc/CtrlLib/CtrlUtil.h +++ b/uppsrc/CtrlLib/CtrlUtil.h @@ -245,11 +245,13 @@ class TrayIcon : private Ctrl { NotifyIconNew nid; HWND hwnd; - virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam); void Notify(dword msg); void DoMenu(Bar& bar); void Message(int type, const char *title, const char *text, int timeout = 10); +protected: + virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam); + public: virtual void Menu(Bar& bar); virtual void LeftDown();