]> git.saurik.com Git - wxWidgets.git/blame - include/wx/cocoa/NSMenu.h
fixes for moving wxHTML files into their own DLL
[wxWidgets.git] / include / wx / cocoa / NSMenu.h
CommitLineData
fb896a32
DE
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"
e6686511 16#include "wx/cocoa/ObjcAssociate.h"
fb896a32
DE
17
18WX_DECLARE_OBJC_HASHMAP(NSMenu);
19
20// ========================================================================
21// wxCocoaNSMenu
22// ========================================================================
23
24class wxCocoaNSMenu
25{
26 WX_DECLARE_OBJC_INTERFACE(NSMenu)
27// ------------------------------------------------------------------------
28// initialization
29// ------------------------------------------------------------------------
30public:
31 inline wxCocoaNSMenu()
32 {
33 m_cocoaNSMenu = NULL;
34 }
35 ~wxCocoaNSMenu();
36// ------------------------------------------------------------------------
37// Cocoa specifics
38// ------------------------------------------------------------------------
39public:
40 bool CocoaCreate(const wxString &title);
41 inline WX_NSMenu GetNSMenu() { return m_cocoaNSMenu; }
42protected:
43 WX_NSMenu m_cocoaNSMenu;
44// ------------------------------------------------------------------------
45// Implementation
46// ------------------------------------------------------------------------
47protected:
48};
49
50#endif // _WX_COCOA_NSMENU_H_