fixing warnings in osx common code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2009-03-23 15:17:22 +00:00
parent 530cda2fdc
commit 0faf03bf97
12 changed files with 16 additions and 16 deletions

View File

@@ -66,13 +66,13 @@ wxWindow *wxButton::SetDefault()
return btnOldDefault;
}
void wxButton::Command (wxCommandEvent & event)
void wxButton::Command (wxCommandEvent & WXUNUSED(event))
{
m_peer->PerformClick() ;
// ProcessCommand(event);
}
bool wxButton::OSXHandleClicked( double timestampsec )
bool wxButton::OSXHandleClicked( double WXUNUSED(timestampsec) )
{
wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, m_windowId);
event.SetEventObject(this);
@@ -111,7 +111,7 @@ bool wxDisclosureTriangle::IsOpen() const
return m_peer->GetValue() == 1;
}
bool wxDisclosureTriangle::OSXHandleClicked( double timestampsec )
bool wxDisclosureTriangle::OSXHandleClicked( double WXUNUSED(timestampsec) )
{
// Just emit button event for now
wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, m_windowId);