X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..8429bec1e8e3fcb7d071bc3ef7c665c484b5fdc1:/src/stubs/data.cpp diff --git a/src/stubs/data.cpp b/src/stubs/data.cpp index d706f82334..ae2895408b 100644 --- a/src/stubs/data.cpp +++ b/src/stubs/data.cpp @@ -131,6 +131,7 @@ const char *wxDoubleToStringStr = "%.2f"; wxPrintPaperDatabase* wxThePrintPaperDatabase = NULL; #endif +#if USE_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 @@ -140,6 +141,7 @@ const wxEventTable wxEvtHandler::sm_eventTable = { NULL, &wxEvtHandler::sm_eventTableEntries[0] }; const wxEventTableEntry wxEvtHandler::sm_eventTableEntries[] = { { 0, 0, 0, NULL } }; +#endif const wxSize wxDefaultSize(-1, -1); const wxPoint wxDefaultPosition(-1, -1);