]> git.saurik.com Git - wxWidgets.git/blame - src/mac/carbon/data.cpp
must be static of course, otherwise items just get appended for every menu-build
[wxWidgets.git] / src / mac / carbon / data.cpp
CommitLineData
e9576ca5 1/////////////////////////////////////////////////////////////////////////////
6a76384f
VZ
2// Name: mac/data.cpp
3// Purpose: Various global Mac-specific data
a31a5f85 4// Author: Stefan Csomor
e9576ca5 5// Modified by:
a31a5f85 6// Created: 1998-01-01
e9576ca5 7// RCS-ID: $Id$
a31a5f85 8// Copyright: (c) Stefan Csomor
65571936 9// Licence: wxWindows licence
e9576ca5
SC
10/////////////////////////////////////////////////////////////////////////////
11
3d1a4878
SC
12#include "wx/wxprec.h"
13
6a76384f 14#include "wx/event.h"
e9576ca5 15
2f1ae414
SC
16#if wxUSE_SHARED_LIBRARY
17///// Event tables (also must be in one, statically-linked file for shared libraries)
18
19// This is the base, wxEvtHandler 'bootstrap' code which is expanded manually here
20const wxEventTable *wxEvtHandler::GetEventTable() const { return &wxEvtHandler::sm_eventTable; }
21
22const wxEventTable wxEvtHandler::sm_eventTable =
e40298d5 23 { NULL, &wxEvtHandler::sm_eventTableEntries[0] };
2f1ae414
SC
24
25const wxEventTableEntry wxEvtHandler::sm_eventTableEntries[] = { { 0, 0, 0, NULL } };
26#endif
27