X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed880dd448d6904a9749eb4653d2ba2fe3350b44..6c905cb7fdc856317f1e1db9c6d6aaa93c67920c:/src/common/postscrp.cpp diff --git a/src/common/postscrp.cpp b/src/common/postscrp.cpp index 9445071ff6..2987647f36 100644 --- a/src/common/postscrp.cpp +++ b/src/common/postscrp.cpp @@ -124,6 +124,15 @@ wxPrintSetupData *wxThePrintSetupData = (wxPrintSetupData *) NULL; +#if !USE_SHARED_LIBRARY +IMPLEMENT_DYNAMIC_CLASS(wxPostScriptModule, wxModule) +IMPLEMENT_DYNAMIC_CLASS(wxPostScriptDC, wxDC) +IMPLEMENT_DYNAMIC_CLASS(wxPrintSetupData, wxObject) +IMPLEMENT_DYNAMIC_CLASS(wxPrintPaperType, wxObject) +#endif + +#ifndef __WXGTK__ + // these should move into wxPostscriptDC: double UnderlinePosition = 0.0F; double UnderlineThickness = 0.0F; @@ -164,13 +173,6 @@ static const char *wxPostScriptHeaderSpline = (char *) NULL; static char *fileBuffer = NULL; #endif -#if !USE_SHARED_LIBRARY -IMPLEMENT_DYNAMIC_CLASS(wxPostScriptModule, wxModule) -IMPLEMENT_DYNAMIC_CLASS(wxPostScriptDC, wxDC) -IMPLEMENT_DYNAMIC_CLASS(wxPrintSetupData, wxObject) -IMPLEMENT_DYNAMIC_CLASS(wxPrintPaperType, wxObject) -#endif - wxPostScriptDC::wxPostScriptDC () { // m_yOrigin = 792; // For EPS output @@ -2052,6 +2054,9 @@ void wxPostScriptDC::CalcBoundingBox(long x, long y) if (device_y > m_maxY) m_maxY = device_y; } +#endif + // __WXGTK__ + IMPLEMENT_CLASS(wxPostScriptPrintDialog, wxDialog) wxPostScriptPrintDialog::wxPostScriptPrintDialog (wxWindow *parent, const wxString& title,