mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-25 07:35:44 +01:00
Quiet a bunch of 'unreferenced formal parameter' warnings on Windows.
The remaining ones are 'formal parameter's referenced by other platforms.
This commit is contained in:
@@ -432,7 +432,7 @@ AButtonAx::~AButtonAx()
|
||||
// or > 0 (the action for a child).
|
||||
// Return wxACC_NOT_SUPPORTED if there is no default action for this
|
||||
// window (e.g. an edit control).
|
||||
wxAccStatus AButtonAx::DoDefaultAction(int childId)
|
||||
wxAccStatus AButtonAx::DoDefaultAction(int WXUNUSED(childId))
|
||||
{
|
||||
AButton *ab = wxDynamicCast( GetWindow(), AButton );
|
||||
|
||||
@@ -476,7 +476,7 @@ wxAccStatus AButtonAx::GetChildCount(int* childCount)
|
||||
// object, not what the object does as a result. For example, a
|
||||
// toolbar button that prints a document has a default action of
|
||||
// "Press" rather than "Prints the current document."
|
||||
wxAccStatus AButtonAx::GetDefaultAction(int childId, wxString* actionName)
|
||||
wxAccStatus AButtonAx::GetDefaultAction(int WXUNUSED(childId), wxString* actionName)
|
||||
{
|
||||
*actionName = _( "Press" );
|
||||
|
||||
@@ -484,7 +484,7 @@ wxAccStatus AButtonAx::GetDefaultAction(int childId, wxString* actionName)
|
||||
}
|
||||
|
||||
// Returns the description for this object or a child.
|
||||
wxAccStatus AButtonAx::GetDescription( int childId, wxString *description )
|
||||
wxAccStatus AButtonAx::GetDescription( int WXUNUSED(childId), wxString *description )
|
||||
{
|
||||
description->Clear();
|
||||
|
||||
@@ -504,7 +504,7 @@ wxAccStatus AButtonAx::GetFocus(int* childId, wxAccessible** child)
|
||||
}
|
||||
|
||||
// Returns help text for this object or a child, similar to tooltip text.
|
||||
wxAccStatus AButtonAx::GetHelpText( int childId, wxString *helpText )
|
||||
wxAccStatus AButtonAx::GetHelpText( int WXUNUSED(childId), wxString *helpText )
|
||||
{
|
||||
#if wxUSE_TOOLTIPS // Not available in wxX11
|
||||
AButton *ab = wxDynamicCast( GetWindow(), AButton );
|
||||
@@ -525,7 +525,7 @@ wxAccStatus AButtonAx::GetHelpText( int childId, wxString *helpText )
|
||||
|
||||
// Returns the keyboard shortcut for this object or child.
|
||||
// Return e.g. ALT+K
|
||||
wxAccStatus AButtonAx::GetKeyboardShortcut( int childId, wxString *shortcut )
|
||||
wxAccStatus AButtonAx::GetKeyboardShortcut( int WXUNUSED(childId), wxString *shortcut )
|
||||
{
|
||||
shortcut->Clear();
|
||||
|
||||
@@ -534,7 +534,7 @@ wxAccStatus AButtonAx::GetKeyboardShortcut( int childId, wxString *shortcut )
|
||||
|
||||
// Returns the rectangle for this object (id = 0) or a child element (id > 0).
|
||||
// rect is in screen coordinates.
|
||||
wxAccStatus AButtonAx::GetLocation( wxRect& rect, int elementId )
|
||||
wxAccStatus AButtonAx::GetLocation( wxRect& rect, int WXUNUSED(elementId) )
|
||||
{
|
||||
AButton *ab = wxDynamicCast( GetWindow(), AButton );
|
||||
|
||||
@@ -545,7 +545,7 @@ wxAccStatus AButtonAx::GetLocation( wxRect& rect, int elementId )
|
||||
}
|
||||
|
||||
// Gets the name of the specified object.
|
||||
wxAccStatus AButtonAx::GetName(int childId, wxString* name)
|
||||
wxAccStatus AButtonAx::GetName(int WXUNUSED(childId), wxString* name)
|
||||
{
|
||||
AButton *ab = wxDynamicCast( GetWindow(), AButton );
|
||||
|
||||
@@ -564,7 +564,7 @@ wxAccStatus AButtonAx::GetName(int childId, wxString* name)
|
||||
}
|
||||
|
||||
// Returns a role constant.
|
||||
wxAccStatus AButtonAx::GetRole(int childId, wxAccRole* role)
|
||||
wxAccStatus AButtonAx::GetRole(int WXUNUSED(childId), wxAccRole* role)
|
||||
{
|
||||
*role = wxROLE_SYSTEM_PUSHBUTTON;
|
||||
|
||||
@@ -579,13 +579,13 @@ wxAccStatus AButtonAx::GetRole(int childId, wxAccRole* role)
|
||||
// - an integer representing the selected child element,
|
||||
// or 0 if this object is selected (GetType() == wxT("long"))
|
||||
// - a "void*" pointer to a wxAccessible child object
|
||||
wxAccStatus AButtonAx::GetSelections( wxVariant *selections )
|
||||
wxAccStatus AButtonAx::GetSelections( wxVariant * WXUNUSED(selections) )
|
||||
{
|
||||
return wxACC_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
// Returns a state constant.
|
||||
wxAccStatus AButtonAx::GetState(int childId, long* state)
|
||||
wxAccStatus AButtonAx::GetState(int WXUNUSED(childId), long* state)
|
||||
{
|
||||
AButton *ab = wxDynamicCast( GetWindow(), AButton );
|
||||
|
||||
@@ -617,7 +617,7 @@ wxAccStatus AButtonAx::GetState(int childId, long* state)
|
||||
|
||||
// Returns a localized string representing the value for the object
|
||||
// or child.
|
||||
wxAccStatus AButtonAx::GetValue(int childId, wxString* strValue)
|
||||
wxAccStatus AButtonAx::GetValue(int WXUNUSED(childId), wxString* WXUNUSED(strValue))
|
||||
{
|
||||
return wxACC_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user