]> git.saurik.com Git - wxWidgets.git/blob - include/wx/cocoa/NSMenu.h
Blind fix for MSVC.
[wxWidgets.git] / include / wx / cocoa / NSMenu.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/cocoa/NSMenu.h
3 // Purpose: wxCocoaNSMenu class
4 // Author: David Elliott
5 // Modified by:
6 // Created: 2002/12/09
7 // RCS-ID: $Id:
8 // Copyright: (c) 2002 David Elliott
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 #ifndef __WX_COCOA_NSMENU_H__
13 #define __WX_COCOA_NSMENU_H__
14
15 #include "wx/hashmap.h"
16 #include "wx/cocoa/ObjcAssociate.h"
17
18 WX_DECLARE_OBJC_HASHMAP(NSMenu);
19
20 // ========================================================================
21 // wxCocoaNSMenu
22 // ========================================================================
23
24 class wxCocoaNSMenu
25 {
26 WX_DECLARE_OBJC_INTERFACE(NSMenu)
27 // ------------------------------------------------------------------------
28 // initialization
29 // ------------------------------------------------------------------------
30 public:
31 inline wxCocoaNSMenu()
32 {
33 m_cocoaNSMenu = NULL;
34 }
35 ~wxCocoaNSMenu();
36 // ------------------------------------------------------------------------
37 // Cocoa specifics
38 // ------------------------------------------------------------------------
39 public:
40 bool CocoaCreate(const wxString &title);
41 inline WX_NSMenu GetNSMenu() { return m_cocoaNSMenu; }
42 protected:
43 WX_NSMenu m_cocoaNSMenu;
44 // ------------------------------------------------------------------------
45 // Implementation
46 // ------------------------------------------------------------------------
47 protected:
48 };
49
50 #endif // _WX_COCOA_NSMENU_H_