X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9dea36ef6d117e0562f0079345a77ff1696d3a49..f97d84a63b21fffcc830390e5bc3fe0eedb6e15b:/src/os2/dcprint.cpp diff --git a/src/os2/dcprint.cpp b/src/os2/dcprint.cpp index eaff967696..81c60a30d4 100644 --- a/src/os2/dcprint.cpp +++ b/src/os2/dcprint.cpp @@ -27,9 +27,9 @@ #include "wx/dcprint.h" #include "math.h" -#if !USE_SHARED_LIBRARY +#if wxUSE_PRINTING_ARCHITECTURE + IMPLEMENT_CLASS(wxPrinterDC, wxDC) -#endif // This form is deprecated @@ -330,3 +330,4 @@ WXHDC WXDLLEXPORT wxGetPrinterDC(const wxPrintData& printDataConst) return (WXHDC) hDC; } +#endif //wxUSE_PRINTING_ARCHITECTURE