X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..c259ffdff79ed1cb412cc829a19558064ce87474:/src/mac/classic/data.cpp diff --git a/src/mac/classic/data.cpp b/src/mac/classic/data.cpp index 1f0bea00d2..eb8f97da01 100644 --- a/src/mac/classic/data.cpp +++ b/src/mac/classic/data.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: mac/data.cpp +// Name: src/mac/classic/data.cpp // Purpose: Various global Mac-specific data // Author: Stefan Csomor // Modified by: @@ -9,17 +9,8 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#include "wx/event.h" +#include "wx/wxprec.h" -#if wxUSE_SHARED_LIBRARY -///// Event tables (also must be in one, statically-linked file for shared libraries) - -// This is the base, wxEvtHandler 'bootstrap' code which is expanded manually here -const wxEventTable *wxEvtHandler::GetEventTable() const { return &wxEvtHandler::sm_eventTable; } - -const wxEventTable wxEvtHandler::sm_eventTable = - { NULL, &wxEvtHandler::sm_eventTableEntries[0] }; - -const wxEventTableEntry wxEvtHandler::sm_eventTableEntries[] = { { 0, 0, 0, NULL } }; +#ifndef WX_PRECOMP + #include "wx/event.h" #endif -