]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/app.cpp
minor corrections for compilation with gcc 3.3 (use cast of address instead
[wxWidgets.git] / src / mac / app.cpp
index 5f7d68f6bd97f5537665cb538e21b48cc2489750..39086ddeb8b5f9272e19be06009de2ea3072bcf2 100644 (file)
@@ -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)