]> git.saurik.com Git - wxWidgets.git/blame - src/osx/carbon/menuitem.cpp
set m_isBeingDeleted to true (only) in SendDestroyEvent(); call it as early as possib...
[wxWidgets.git] / src / osx / carbon / menuitem.cpp
CommitLineData
489468fe 1///////////////////////////////////////////////////////////////////////////////
524c47aa 2// Name: src/osx/carbon/menuitem.cpp
489468fe
SC
3// Purpose: wxMenuItem implementation
4// Author: Stefan Csomor
5// Modified by:
6// Created: 1998-01-01
7// RCS-ID: $Id$
8// Copyright: (c) Stefan Csomor
9// Licence: wxWindows licence
10///////////////////////////////////////////////////////////////////////////////
11
12#include "wx/wxprec.h"
13
14#include "wx/menuitem.h"
15#include "wx/stockitem.h"
16
17#ifndef WX_PRECOMP
18 #include "wx/app.h"
19 #include "wx/menu.h"
20#endif // WX_PRECOMP
21
524c47aa 22#include "wx/osx/private.h"
489468fe 23
524c47aa
SC
24// because on mac carbon everything is done through MenuRef APIs both implementation
25// classes are in menu.cpp