]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/cocoa/NSMenu.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/cocoa/NSMenu.h
3 // Purpose: wxCocoaNSMenu class
4 // Author: David Elliott
8 // Copyright: (c) 2002 David Elliott
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef __WX_COCOA_NSMENU_H__
13 #define __WX_COCOA_NSMENU_H__
15 #include "wx/hashmap.h"
16 #include "wx/cocoa/ObjcPose.h"
18 WX_DECLARE_OBJC_HASHMAP(NSMenu
);
20 // ========================================================================
22 // ========================================================================
26 WX_DECLARE_OBJC_INTERFACE(NSMenu
)
27 // ------------------------------------------------------------------------
29 // ------------------------------------------------------------------------
31 inline wxCocoaNSMenu()
36 // ------------------------------------------------------------------------
38 // ------------------------------------------------------------------------
40 bool CocoaCreate(const wxString
&title
);
41 inline WX_NSMenu
GetNSMenu() { return m_cocoaNSMenu
; }
43 WX_NSMenu m_cocoaNSMenu
;
44 // ------------------------------------------------------------------------
46 // ------------------------------------------------------------------------
50 #endif // _WX_COCOA_NSMENU_H_