From: Stefan Csomor Date: Thu, 27 May 2004 14:49:03 +0000 (+0000) Subject: menu associations X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/41b531690d50277f68fab7aede2f483fca00bc17 menu associations git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/carbon/private.h b/include/wx/mac/carbon/private.h index 14f164d56a..acbf5273fd 100644 --- a/include/wx/mac/carbon/private.h +++ b/include/wx/mac/carbon/private.h @@ -199,8 +199,10 @@ private : WindowRef m_data ; } ; -wxWindow *wxFindControlFromMacControl(ControlRef inControl ) ; -wxTopLevelWindowMac* wxFindWinFromMacWindow( WindowRef inWindow ) ; +wxWindow * wxFindControlFromMacControl(ControlRef inControl ) ; +wxTopLevelWindowMac* wxFindWinFromMacWindow( WindowRef inWindow ) ; +wxMenu* wxFindMenuFromMacMenu(MenuRef inMenuRef) ; + extern wxWindow* g_MacLastWindow ; pascal OSStatus wxMacTopLevelMouseEventHandler( EventHandlerCallRef handler , EventRef event , void *data ) ; Rect wxMacGetBoundsForControl( wxWindow* window , const wxPoint& pos , const wxSize &size , bool adjustForOrigin = true ) ; @@ -282,7 +284,7 @@ public : return SetParameter( inName, wxMacGetEventParamType() , &data ) ; } - EventKind GetKind() + UInt32 GetKind() { return ::GetEventKind( m_eventRef ) ; }