X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c3a404b09026fcb1206141310230a76d80cc12d3..8d4c48688a191ced05557375d094c29cc41ccf84:/include/wx/mac/carbon/private.h diff --git a/include/wx/mac/carbon/private.h b/include/wx/mac/carbon/private.h index b4c54a7418..acbf5273fd 100644 --- a/include/wx/mac/carbon/private.h +++ b/include/wx/mac/carbon/private.h @@ -1,7 +1,7 @@ ///////////////////////////////////////////////////////////////////////////// // Name: private.h // Purpose: Private declarations: as this header is only included by -// wxWindows itself, it may contain identifiers which don't start +// wxWidgets itself, it may contain identifiers which don't start // with "wx". // Author: Stefan Csomor // Modified by: @@ -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 ) ; } @@ -381,6 +383,7 @@ private: wxUint32 wxMacGetSystemEncFromFontEnc(wxFontEncoding encoding) ; wxFontEncoding wxMacGetFontEncFromSystemEnc(wxUint32 encoding) ; +void wxMacWakeUp() ; // toplevel.cpp