git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46979
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
return Shell_NotifyIcon(NIM_DELETE, ¬ifyData) != 0;
}
return Shell_NotifyIcon(NIM_DELETE, ¬ifyData) != 0;
}
bool wxTaskBarIcon::PopupMenu(wxMenu *menu)
{
wxASSERT_MSG( m_win != NULL, _T("taskbar icon not initialized") );
bool wxTaskBarIcon::PopupMenu(wxMenu *menu)
{
wxASSERT_MSG( m_win != NULL, _T("taskbar icon not initialized") );
void wxTaskBarIcon::RegisterWindowMessages()
{
void wxTaskBarIcon::RegisterWindowMessages()
{
case WM_MENUCHAR:
// we're only interested in our own menus, not MF_SYSMENU
if ( HIWORD(wParam) == MF_POPUP )
case WM_MENUCHAR:
// we're only interested in our own menus, not MF_SYSMENU
if ( HIWORD(wParam) == MF_POPUP )
#ifndef __WXWINCE__
case WM_POWERBROADCAST:
#ifndef __WXWINCE__
case WM_POWERBROADCAST:
return GetEventHandler()->ProcessEvent(event);
}
return GetEventHandler()->ProcessEvent(event);
}
int wxWindowMSW::HandleMenuChar(int WXUNUSED_IN_WINCE(chAccel),
WXLPARAM WXUNUSED_IN_WINCE(lParam))
{
int wxWindowMSW::HandleMenuChar(int WXUNUSED_IN_WINCE(chAccel),
WXLPARAM WXUNUSED_IN_WINCE(lParam))
{
return GetEventHandler()->ProcessEvent(evt);
}
return GetEventHandler()->ProcessEvent(evt);
}
// ---------------------------------------------------------------------------
// joystick
// ---------------------------------------------------------------------------
// joystick