X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..520e470fdd0daef09c77938db642e4583933c90d:/src/stubs/data.cpp diff --git a/src/stubs/data.cpp b/src/stubs/data.cpp index d706f82334..6245f1607c 100644 --- a/src/stubs/data.cpp +++ b/src/stubs/data.cpp @@ -127,10 +127,11 @@ const char *wxFatalErrorStr = "wxWindows Fatal Error"; const char *wxFloatToStringStr = "%.2f"; const char *wxDoubleToStringStr = "%.2f"; -#if USE_POSTSCRIPT +#if wxUSE_POSTSCRIPT wxPrintPaperDatabase* wxThePrintPaperDatabase = NULL; #endif +#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 @@ -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);