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