From 806edd25dcb922c430ac5b99aac14326b00c7829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Teuli=C3=A8re?= <ipkiss@videolan.org> Date: Sun, 14 May 2006 18:17:14 +0000 Subject: [PATCH] * skins2/win32/win32_factory.cpp: msg_Err --> msg_Dbg --- modules/gui/skins2/win32/win32_factory.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/modules/gui/skins2/win32/win32_factory.cpp b/modules/gui/skins2/win32/win32_factory.cpp index 7e384f869139..e4885b31e2af 100644 --- a/modules/gui/skins2/win32/win32_factory.cpp +++ b/modules/gui/skins2/win32/win32_factory.cpp @@ -37,7 +37,7 @@ #include "../commands/cmd_minimize.hpp" // Custom message for the notifications of the system tray -#define MY_WSTRAYACTION (WM_APP + 1) +#define MY_WM_TRAYACTION (WM_APP + 1) LRESULT CALLBACK Win32Proc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) @@ -73,14 +73,11 @@ LRESULT CALLBACK Win32Proc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) } else { - msg_Err( p_intf, "WM_SYSCOMMAND %i", wParam ); + msg_Dbg( p_intf, "WM_SYSCOMMAND %i", wParam ); } -// if( (Event *)wParam != NULL ) -// ( (Event *)wParam )->SendEvent(); -// return 0; } // Handle systray notifications - else if( uMsg == MY_WSTRAYACTION ) + else if( uMsg == MY_WM_TRAYACTION ) { if( (UINT)lParam == WM_LBUTTONDOWN ) { @@ -175,7 +172,7 @@ bool Win32Factory::init() m_trayIcon.hWnd = m_hParentWindow; m_trayIcon.uID = 42; m_trayIcon.uFlags = NIF_ICON|NIF_TIP|NIF_MESSAGE; - m_trayIcon.uCallbackMessage = MY_WSTRAYACTION; + m_trayIcon.uCallbackMessage = MY_WM_TRAYACTION; m_trayIcon.hIcon = LoadIcon( m_hInst, _T("VLC_ICON") ); strcpy( m_trayIcon.szTip, "VLC media player" ); -- GitLab