mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 15:49:36 +02: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:
parent
9a75557b89
commit
4f5de6d5e3
@ -839,7 +839,7 @@ bool FFmpegLibs::ValidLibsLoaded()
|
||||
return mLibsLoaded;
|
||||
}
|
||||
|
||||
bool FFmpegLibs::InitLibs(wxString libpath_format, bool showerr)
|
||||
bool FFmpegLibs::InitLibs(wxString libpath_format, bool WXUNUSED(showerr))
|
||||
{
|
||||
#if !defined(DISABLE_DYNAMIC_LOADING_FFMPEG)
|
||||
FreeLibs();
|
||||
|
@ -1019,7 +1019,7 @@ void TrackArtist::DrawMinMaxRMS(wxDC &dc, const wxRect &r, const double env[],
|
||||
void TrackArtist::DrawMinMaxRMS(wxDC &dc, const wxRect &r, const double env[],
|
||||
float zoomMin, float zoomMax, bool dB,
|
||||
const float min[], const float max[], const float rms[],
|
||||
const int bl[], bool showProgress, bool muted)
|
||||
const int bl[], bool WXUNUSED(showProgress), bool muted)
|
||||
#endif
|
||||
{
|
||||
// Display a line representing the
|
||||
|
@ -362,7 +362,7 @@ BEGIN_EVENT_TABLE(TrackPanel, wxWindow)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
/// Makes a cursor from an XPM, uses CursorId as a fallback.
|
||||
static wxCursor * MakeCursor( int CursorId, const char * pXpm[36], int HotX, int HotY )
|
||||
static wxCursor * MakeCursor( int WXUNUSED(CursorId), const char * pXpm[36], int HotX, int HotY )
|
||||
{
|
||||
wxCursor * pCursor;
|
||||
|
||||
|
@ -218,7 +218,7 @@ wxAccStatus TrackPanelAx::GetChildCount( int* childCount )
|
||||
// The retrieved string describes the action that is performed on an 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 TrackPanelAx::GetDefaultAction( int childId, wxString *actionName )
|
||||
wxAccStatus TrackPanelAx::GetDefaultAction( int WXUNUSED(childId), wxString *actionName )
|
||||
{
|
||||
actionName->Clear();
|
||||
|
||||
@ -226,7 +226,7 @@ wxAccStatus TrackPanelAx::GetDefaultAction( int childId, wxString *actionName )
|
||||
}
|
||||
|
||||
// Returns the description for this object or a child.
|
||||
wxAccStatus TrackPanelAx::GetDescription( int childId, wxString *description )
|
||||
wxAccStatus TrackPanelAx::GetDescription( int WXUNUSED(childId), wxString *description )
|
||||
{
|
||||
description->Clear();
|
||||
|
||||
@ -234,7 +234,7 @@ wxAccStatus TrackPanelAx::GetDescription( int childId, wxString *description )
|
||||
}
|
||||
|
||||
// Returns help text for this object or a child, similar to tooltip text.
|
||||
wxAccStatus TrackPanelAx::GetHelpText( int childId, wxString *helpText )
|
||||
wxAccStatus TrackPanelAx::GetHelpText( int WXUNUSED(childId), wxString *helpText )
|
||||
{
|
||||
helpText->Clear();
|
||||
|
||||
@ -243,7 +243,7 @@ wxAccStatus TrackPanelAx::GetHelpText( int childId, wxString *helpText )
|
||||
|
||||
// Returns the keyboard shortcut for this object or child.
|
||||
// Return e.g. ALT+K
|
||||
wxAccStatus TrackPanelAx::GetKeyboardShortcut( int childId, wxString *shortcut )
|
||||
wxAccStatus TrackPanelAx::GetKeyboardShortcut( int WXUNUSED(childId), wxString *shortcut )
|
||||
{
|
||||
shortcut->Clear();
|
||||
|
||||
@ -377,7 +377,7 @@ wxAccStatus TrackPanelAx::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 TrackPanelAx::GetSelections( wxVariant *selections )
|
||||
wxAccStatus TrackPanelAx::GetSelections( wxVariant * WXUNUSED(selections) )
|
||||
{
|
||||
return wxACC_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
@ -3319,7 +3319,7 @@ wxAccStatus SliderAx::GetChildCount(int* childCount)
|
||||
// The retrieved string describes the action that is performed on an 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 SliderAx::GetDefaultAction( int childId, wxString *actionName )
|
||||
wxAccStatus SliderAx::GetDefaultAction( int WXUNUSED(childId), wxString *actionName )
|
||||
{
|
||||
actionName->Clear();
|
||||
|
||||
@ -3327,7 +3327,7 @@ wxAccStatus SliderAx::GetDefaultAction( int childId, wxString *actionName )
|
||||
}
|
||||
|
||||
// Returns the description for this object or a child.
|
||||
wxAccStatus SliderAx::GetDescription( int childId, wxString *description )
|
||||
wxAccStatus SliderAx::GetDescription( int WXUNUSED(childId), wxString *description )
|
||||
{
|
||||
description->Clear();
|
||||
|
||||
@ -3347,7 +3347,7 @@ wxAccStatus SliderAx::GetFocus(int* childId, wxAccessible** child)
|
||||
}
|
||||
|
||||
// Returns help text for this object or a child, similar to tooltip text.
|
||||
wxAccStatus SliderAx::GetHelpText( int childId, wxString *helpText )
|
||||
wxAccStatus SliderAx::GetHelpText( int WXUNUSED(childId), wxString *helpText )
|
||||
{
|
||||
helpText->Clear();
|
||||
|
||||
@ -3356,7 +3356,7 @@ wxAccStatus SliderAx::GetHelpText( int childId, wxString *helpText )
|
||||
|
||||
// Returns the keyboard shortcut for this object or child.
|
||||
// Return e.g. ALT+K
|
||||
wxAccStatus SliderAx::GetKeyboardShortcut( int childId, wxString *shortcut )
|
||||
wxAccStatus SliderAx::GetKeyboardShortcut( int WXUNUSED(childId), wxString *shortcut )
|
||||
{
|
||||
shortcut->Clear();
|
||||
|
||||
@ -3365,7 +3365,7 @@ wxAccStatus SliderAx::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 SliderAx::GetLocation( wxRect& rect, int elementId )
|
||||
wxAccStatus SliderAx::GetLocation( wxRect& rect, int WXUNUSED(elementId) )
|
||||
{
|
||||
wxSliderBugfix *s = wxDynamicCast( GetWindow(), wxSliderBugfix );
|
||||
|
||||
@ -3376,7 +3376,7 @@ wxAccStatus SliderAx::GetLocation( wxRect& rect, int elementId )
|
||||
}
|
||||
|
||||
// Gets the name of the specified object.
|
||||
wxAccStatus SliderAx::GetName(int childId, wxString* name)
|
||||
wxAccStatus SliderAx::GetName(int WXUNUSED(childId), wxString* name)
|
||||
{
|
||||
wxSliderBugfix *s = wxDynamicCast( GetWindow(), wxSliderBugfix );
|
||||
|
||||
@ -3415,7 +3415,7 @@ wxAccStatus SliderAx::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 SliderAx::GetSelections( wxVariant *selections )
|
||||
wxAccStatus SliderAx::GetSelections( wxVariant * WXUNUSED(selections) )
|
||||
{
|
||||
return wxACC_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -1649,7 +1649,7 @@ wxAccStatus ASliderAx::GetChildCount(int* childCount)
|
||||
// The retrieved string describes the action that is performed on an 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 ASliderAx::GetDefaultAction( int childId, wxString *actionName )
|
||||
wxAccStatus ASliderAx::GetDefaultAction( int WXUNUSED(childId), wxString *actionName )
|
||||
{
|
||||
actionName->Clear();
|
||||
|
||||
@ -1657,7 +1657,7 @@ wxAccStatus ASliderAx::GetDefaultAction( int childId, wxString *actionName )
|
||||
}
|
||||
|
||||
// Returns the description for this object or a child.
|
||||
wxAccStatus ASliderAx::GetDescription( int childId, wxString *description )
|
||||
wxAccStatus ASliderAx::GetDescription( int WXUNUSED(childId), wxString *description )
|
||||
{
|
||||
description->Clear();
|
||||
|
||||
@ -1677,7 +1677,7 @@ wxAccStatus ASliderAx::GetFocus(int* childId, wxAccessible** child)
|
||||
}
|
||||
|
||||
// Returns help text for this object or a child, similar to tooltip text.
|
||||
wxAccStatus ASliderAx::GetHelpText( int childId, wxString *helpText )
|
||||
wxAccStatus ASliderAx::GetHelpText( int WXUNUSED(childId), wxString *helpText )
|
||||
{
|
||||
helpText->Clear();
|
||||
|
||||
@ -1686,7 +1686,7 @@ wxAccStatus ASliderAx::GetHelpText( int childId, wxString *helpText )
|
||||
|
||||
// Returns the keyboard shortcut for this object or child.
|
||||
// Return e.g. ALT+K
|
||||
wxAccStatus ASliderAx::GetKeyboardShortcut( int childId, wxString *shortcut )
|
||||
wxAccStatus ASliderAx::GetKeyboardShortcut( int WXUNUSED(childId), wxString *shortcut )
|
||||
{
|
||||
shortcut->Clear();
|
||||
|
||||
@ -1695,7 +1695,7 @@ wxAccStatus ASliderAx::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 ASliderAx::GetLocation( wxRect& rect, int elementId )
|
||||
wxAccStatus ASliderAx::GetLocation( wxRect& rect, int WXUNUSED(elementId) )
|
||||
{
|
||||
ASlider *as = wxDynamicCast( GetWindow(), ASlider );
|
||||
|
||||
@ -1706,7 +1706,7 @@ wxAccStatus ASliderAx::GetLocation( wxRect& rect, int elementId )
|
||||
}
|
||||
|
||||
// Gets the name of the specified object.
|
||||
wxAccStatus ASliderAx::GetName(int childId, wxString* name)
|
||||
wxAccStatus ASliderAx::GetName(int WXUNUSED(childId), wxString* name)
|
||||
{
|
||||
ASlider *as = wxDynamicCast( GetWindow(), ASlider );
|
||||
|
||||
@ -1745,7 +1745,7 @@ wxAccStatus ASliderAx::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 ASliderAx::GetSelections( wxVariant *selections )
|
||||
wxAccStatus ASliderAx::GetSelections( wxVariant * WXUNUSED(selections) )
|
||||
{
|
||||
return wxACC_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
@ -665,7 +665,7 @@ wxAccStatus GridAx::GetChildCount(int *childCount)
|
||||
// The retrieved string describes the action that is performed on an 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 GridAx::GetDefaultAction(int childId, wxString *actionName)
|
||||
wxAccStatus GridAx::GetDefaultAction(int WXUNUSED(childId), wxString *actionName)
|
||||
{
|
||||
actionName->Clear();
|
||||
|
||||
@ -673,7 +673,7 @@ wxAccStatus GridAx::GetDefaultAction(int childId, wxString *actionName)
|
||||
}
|
||||
|
||||
// Returns the description for this object or a child.
|
||||
wxAccStatus GridAx::GetDescription(int childId, wxString *description)
|
||||
wxAccStatus GridAx::GetDescription(int WXUNUSED(childId), wxString *description)
|
||||
{
|
||||
description->Clear();
|
||||
|
||||
@ -681,7 +681,7 @@ wxAccStatus GridAx::GetDescription(int childId, wxString *description)
|
||||
}
|
||||
|
||||
// Returns help text for this object or a child, similar to tooltip text.
|
||||
wxAccStatus GridAx::GetHelpText(int childId, wxString *helpText)
|
||||
wxAccStatus GridAx::GetHelpText(int WXUNUSED(childId), wxString *helpText)
|
||||
{
|
||||
helpText->Clear();
|
||||
|
||||
@ -690,7 +690,7 @@ wxAccStatus GridAx::GetHelpText(int childId, wxString *helpText)
|
||||
|
||||
// Returns the keyboard shortcut for this object or child.
|
||||
// Return e.g. ALT+K
|
||||
wxAccStatus GridAx::GetKeyboardShortcut(int childId, wxString *shortcut)
|
||||
wxAccStatus GridAx::GetKeyboardShortcut(int WXUNUSED(childId), wxString *shortcut)
|
||||
{
|
||||
shortcut->Clear();
|
||||
|
||||
@ -763,7 +763,7 @@ wxAccStatus GridAx::GetName(int childId, wxString *name)
|
||||
return wxACC_OK;
|
||||
}
|
||||
|
||||
wxAccStatus GridAx::GetParent(wxAccessible **parent)
|
||||
wxAccStatus GridAx::GetParent(wxAccessible ** WXUNUSED(parent))
|
||||
{
|
||||
return wxACC_NOT_IMPLEMENTED;
|
||||
}
|
||||
@ -795,7 +795,7 @@ wxAccStatus GridAx::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 GridAx::GetSelections(wxVariant *selections)
|
||||
wxAccStatus GridAx::GetSelections(wxVariant * WXUNUSED(selections))
|
||||
{
|
||||
return wxACC_NOT_IMPLEMENTED;
|
||||
}
|
||||
@ -880,7 +880,7 @@ wxAccStatus GridAx::Select(int childId, wxAccSelectionFlags selectFlags)
|
||||
// If childId is 0 and child is NULL, no object in
|
||||
// this subhierarchy has the focus.
|
||||
// If this object has the focus, child should be 'this'.
|
||||
wxAccStatus GridAx::GetFocus(int *childId, wxAccessible **child)
|
||||
wxAccStatus GridAx::GetFocus(int * WXUNUSED(childId), wxAccessible **child)
|
||||
{
|
||||
*child = this;
|
||||
|
||||
|
@ -95,7 +95,7 @@ wxAccStatus HtmlWindowAx::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 HtmlWindowAx::GetDefaultAction(int childId, wxString* actionName)
|
||||
wxAccStatus HtmlWindowAx::GetDefaultAction(int WXUNUSED(childId), wxString* actionName)
|
||||
{
|
||||
actionName->Clear();
|
||||
|
||||
@ -103,7 +103,7 @@ wxAccStatus HtmlWindowAx::GetDefaultAction(int childId, wxString* actionName)
|
||||
}
|
||||
|
||||
// Returns the description for this object or a child.
|
||||
wxAccStatus HtmlWindowAx::GetDescription( int childId, wxString *description )
|
||||
wxAccStatus HtmlWindowAx::GetDescription( int WXUNUSED(childId), wxString *description )
|
||||
{
|
||||
description->Clear();
|
||||
|
||||
@ -123,7 +123,7 @@ wxAccStatus HtmlWindowAx::GetFocus(int* childId, wxAccessible** child)
|
||||
}
|
||||
|
||||
// Returns help text for this object or a child, similar to tooltip text.
|
||||
wxAccStatus HtmlWindowAx::GetHelpText( int childId, wxString *helpText )
|
||||
wxAccStatus HtmlWindowAx::GetHelpText( int WXUNUSED(childId), wxString *helpText )
|
||||
{
|
||||
helpText->Clear();
|
||||
|
||||
@ -132,7 +132,7 @@ wxAccStatus HtmlWindowAx::GetHelpText( int childId, wxString *helpText )
|
||||
|
||||
// Returns the keyboard shortcut for this object or child.
|
||||
// Return e.g. ALT+K
|
||||
wxAccStatus HtmlWindowAx::GetKeyboardShortcut( int childId, wxString *shortcut )
|
||||
wxAccStatus HtmlWindowAx::GetKeyboardShortcut( int WXUNUSED(childId), wxString *shortcut )
|
||||
{
|
||||
shortcut->Clear();
|
||||
|
||||
@ -141,7 +141,7 @@ wxAccStatus HtmlWindowAx::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 HtmlWindowAx::GetLocation( wxRect& rect, int elementId )
|
||||
wxAccStatus HtmlWindowAx::GetLocation( wxRect& rect, int WXUNUSED(elementId) )
|
||||
{
|
||||
HtmlWindow *hw = wxDynamicCast( GetWindow(), HtmlWindow );
|
||||
|
||||
@ -152,7 +152,7 @@ wxAccStatus HtmlWindowAx::GetLocation( wxRect& rect, int elementId )
|
||||
}
|
||||
|
||||
// Gets the name of the specified object.
|
||||
wxAccStatus HtmlWindowAx::GetName(int childId, wxString* name)
|
||||
wxAccStatus HtmlWindowAx::GetName(int WXUNUSED(childId), wxString* name)
|
||||
{
|
||||
HtmlWindow *hw = wxDynamicCast( GetWindow(), HtmlWindow );
|
||||
|
||||
@ -166,7 +166,7 @@ wxAccStatus HtmlWindowAx::GetName(int childId, wxString* name)
|
||||
}
|
||||
|
||||
// Returns a role constant.
|
||||
wxAccStatus HtmlWindowAx::GetRole(int childId, wxAccRole* role)
|
||||
wxAccStatus HtmlWindowAx::GetRole(int WXUNUSED(childId), wxAccRole* role)
|
||||
{
|
||||
*role = wxROLE_SYSTEM_STATICTEXT;
|
||||
|
||||
@ -181,13 +181,13 @@ wxAccStatus HtmlWindowAx::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 HtmlWindowAx::GetSelections( wxVariant *selections )
|
||||
wxAccStatus HtmlWindowAx::GetSelections( wxVariant * WXUNUSED(selections) )
|
||||
{
|
||||
return wxACC_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
// Returns a state constant.
|
||||
wxAccStatus HtmlWindowAx::GetState(int childId, long* state)
|
||||
wxAccStatus HtmlWindowAx::GetState(int WXUNUSED(childId), long* state)
|
||||
{
|
||||
HtmlWindow *hw = wxDynamicCast( GetWindow(), HtmlWindow );
|
||||
|
||||
@ -200,7 +200,7 @@ wxAccStatus HtmlWindowAx::GetState(int childId, long* state)
|
||||
|
||||
// Returns a localized string representing the value for the object
|
||||
// or child.
|
||||
wxAccStatus HtmlWindowAx::GetValue(int childId, wxString* strValue)
|
||||
wxAccStatus HtmlWindowAx::GetValue(int WXUNUSED(childId), wxString* strValue)
|
||||
{
|
||||
HtmlWindow *hw = wxDynamicCast( GetWindow(), HtmlWindow );
|
||||
|
||||
|
@ -1682,13 +1682,13 @@ wxAccStatus TimeTextCtrlAx::GetRole(int WXUNUSED(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 TimeTextCtrlAx::GetSelections(wxVariant *selections)
|
||||
wxAccStatus TimeTextCtrlAx::GetSelections(wxVariant * WXUNUSED(selections))
|
||||
{
|
||||
return wxACC_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
// Returns a state constant.
|
||||
wxAccStatus TimeTextCtrlAx::GetState(int childId, long *state)
|
||||
wxAccStatus TimeTextCtrlAx::GetState(int WXUNUSED(childId), long *state)
|
||||
{
|
||||
*state = wxACC_STATE_SYSTEM_FOCUSABLE;
|
||||
*state |= (mCtrl == wxWindow::FindFocus() ? wxACC_STATE_SYSTEM_FOCUSED : 0);
|
||||
@ -1698,7 +1698,7 @@ wxAccStatus TimeTextCtrlAx::GetState(int childId, long *state)
|
||||
|
||||
// Returns a localized string representing the value for the object
|
||||
// or child.
|
||||
wxAccStatus TimeTextCtrlAx::GetValue(int childId, wxString *strValue)
|
||||
wxAccStatus TimeTextCtrlAx::GetValue(int WXUNUSED(childId), wxString * WXUNUSED(strValue))
|
||||
{
|
||||
return wxACC_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user