X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5ab794840de1cf0b253e1b262d8ddb94702d91d..73bdd73aa22ef33f346937d05bfb69bc04a0e430:/src/mac/app.cpp diff --git a/src/mac/app.cpp b/src/mac/app.cpp index 5f7d68f6bd..39086ddeb8 100644 --- a/src/mac/app.cpp +++ b/src/mac/app.cpp @@ -578,7 +578,7 @@ bool wxApp::OnInitGui() InstallApplicationEventHandler( GetwxAppEventHandlerUPP(), - GetEventTypeCount(eventList), eventList, wxTheApp, &((EventHandlerRef)wxTheApp->m_macEventHandler)); + GetEventTypeCount(eventList), eventList, wxTheApp, (EventHandlerRef *)&(wxTheApp->m_macEventHandler)); #endif #if defined(UNIVERSAL_INTERFACES_VERSION) && (UNIVERSAL_INTERFACES_VERSION >= 0x0340)