Suppress unused parameter warnings.
observer argument of wxCFEventLoop::ObserverCallBack() and timestampsec one of wxComboBox::OSXHandleClicked() were unused and generated gcc warnings. wxComboBox::EnableTextChangedEvents() needs to be implemented but as there is already a wxFAIL in it an extra warning is not really useful. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -200,12 +200,12 @@ void wxComboBox::SetString(unsigned int n, const wxString& s)
|
|||||||
SetValue(s); // changing the item in the list won't update the display item
|
SetValue(s); // changing the item in the list won't update the display item
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxComboBox::EnableTextChangedEvents(bool enable)
|
void wxComboBox::EnableTextChangedEvents(bool WXUNUSED(enable))
|
||||||
{
|
{
|
||||||
wxFAIL_MSG("Method Not Implemented.");
|
wxFAIL_MSG("Method Not Implemented.");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxComboBox::OSXHandleClicked( double timestampsec )
|
bool wxComboBox::OSXHandleClicked( double WXUNUSED(timestampsec) )
|
||||||
{
|
{
|
||||||
wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_SELECTED, m_windowId );
|
wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_SELECTED, m_windowId );
|
||||||
event.SetInt(GetSelection());
|
event.SetInt(GetSelection());
|
||||||
|
@@ -153,7 +153,7 @@ void wxObserverCallBack(CFRunLoopObserverRef observer, CFRunLoopActivity activit
|
|||||||
eventloop->ObserverCallBack(observer, activity);
|
eventloop->ObserverCallBack(observer, activity);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxCFEventLoop::ObserverCallBack(CFRunLoopObserverRef observer, int activity)
|
void wxCFEventLoop::ObserverCallBack(CFRunLoopObserverRef WXUNUSED(observer), int activity)
|
||||||
{
|
{
|
||||||
if ( activity & kCFRunLoopBeforeTimers )
|
if ( activity & kCFRunLoopBeforeTimers )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user