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();