build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -513,13 +513,13 @@ bool wxMediaBackendCommonBase::SendStopEvent()
|
|||||||
{
|
{
|
||||||
wxMediaEvent theEvent(wxEVT_MEDIA_STOP, m_ctrl->GetId());
|
wxMediaEvent theEvent(wxEVT_MEDIA_STOP, m_ctrl->GetId());
|
||||||
|
|
||||||
return !m_ctrl->ProcessEvent(theEvent) || theEvent.IsAllowed();
|
return !m_ctrl->GetEventHandler()->ProcessEvent(theEvent) || theEvent.IsAllowed();
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxMediaBackendCommonBase::QueueEvent(wxEventType evtType)
|
void wxMediaBackendCommonBase::QueueEvent(wxEventType evtType)
|
||||||
{
|
{
|
||||||
wxMediaEvent theEvent(evtType, m_ctrl->GetId());
|
wxMediaEvent theEvent(evtType, m_ctrl->GetId());
|
||||||
m_ctrl->AddPendingEvent(theEvent);
|
m_ctrl->GetEventHandler()->AddPendingEvent(theEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxMediaBackendCommonBase::QueuePlayEvent()
|
void wxMediaBackendCommonBase::QueuePlayEvent()
|
||||||
|
@@ -253,7 +253,7 @@ short wxApp::MacHandleAEQuit(const WXEVENTREF WXUNUSED(event) , WXEVENTREF WXUNU
|
|||||||
if ( win )
|
if ( win )
|
||||||
{
|
{
|
||||||
wxCommandEvent exitEvent(wxEVT_COMMAND_MENU_SELECTED, s_macExitMenuItemId);
|
wxCommandEvent exitEvent(wxEVT_COMMAND_MENU_SELECTED, s_macExitMenuItemId);
|
||||||
if (!win->ProcessEvent(exitEvent))
|
if (!win->GetEventHandler()->ProcessEvent(exitEvent))
|
||||||
win->Close(true) ;
|
win->Close(true) ;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@@ -113,7 +113,7 @@ void wxMacWakeUp()
|
|||||||
if ( win )
|
if ( win )
|
||||||
{
|
{
|
||||||
wxCommandEvent exitEvent(wxEVT_COMMAND_MENU_SELECTED, wxApp::s_macExitMenuItemId);
|
wxCommandEvent exitEvent(wxEVT_COMMAND_MENU_SELECTED, wxApp::s_macExitMenuItemId);
|
||||||
if (!win->ProcessEvent(exitEvent))
|
if (!win->GetEventHandler()->ProcessEvent(exitEvent))
|
||||||
win->Close(true) ;
|
win->Close(true) ;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user