Helpers in disabling warnings for unused params.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -89,7 +89,8 @@ static const int idMenuTitle = -3;
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// make the given menu item default
|
||||
static void SetDefaultMenuItem(HMENU hmenu, UINT id)
|
||||
static void SetDefaultMenuItem(HMENU WXUNUSED_IN_WINCE(hmenu),
|
||||
UINT WXUNUSED_IN_WINCE(id))
|
||||
{
|
||||
#ifndef __WXWINCE__
|
||||
MENUITEMINFO mii;
|
||||
@@ -102,9 +103,6 @@ static void SetDefaultMenuItem(HMENU hmenu, UINT id)
|
||||
{
|
||||
wxLogLastError(wxT("SetMenuItemInfo"));
|
||||
}
|
||||
#else
|
||||
wxUnusedVar(hmenu);
|
||||
wxUnusedVar(id);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user