X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..0f90ec936573acad29a7050eb607e3b372953c7a:/src/stubs/data.cpp?ds=sidebyside diff --git a/src/stubs/data.cpp b/src/stubs/data.cpp index d706f82334..aea15f6799 100644 --- a/src/stubs/data.cpp +++ b/src/stubs/data.cpp @@ -15,6 +15,10 @@ #include "wx/wx.h" +#if wxUSE_POSTSCRIPT +#include "wx/dcps.h" +#endif + #define _MAXPATHLEN 500 // Useful buffer, initialized in CommonInit @@ -127,10 +131,7 @@ const char *wxFatalErrorStr = "wxWindows Fatal Error"; const char *wxFloatToStringStr = "%.2f"; const char *wxDoubleToStringStr = "%.2f"; -#if USE_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);