]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/toplevel.cpp
minor corrections for compilation with gcc 3.3 (use cast of address instead
[wxWidgets.git] / src / mac / carbon / toplevel.cpp
index b4864e8f2145465be307affc43e3294092f58fa2..66c28891ca9c1d75ed1903227aa78f118c2c2eef 100644 (file)
@@ -681,7 +681,7 @@ void  wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
 #if TARGET_CARBON
     InstallStandardEventHandler( GetWindowEventTarget(MAC_WXHWND(m_macWindow)) ) ;
     InstallWindowEventHandler(MAC_WXHWND(m_macWindow), GetwxMacWindowEventHandlerUPP(),
-        GetEventTypeCount(eventList), eventList, this, &((EventHandlerRef)m_macEventHandler));
+        GetEventTypeCount(eventList), eventList, this, (EventHandlerRef *)&m_macEventHandler);
 #endif
     m_macFocus = NULL ;