X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..cfad3750c3ecc821ffae8b9b3de852551270846d:/src/stubs/data.cpp?ds=sidebyside

diff --git a/src/stubs/data.cpp b/src/stubs/data.cpp
index ae2895408b..40bcb684e2 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,11 +131,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 USE_SHARED_LIBRARY
+#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