Make temporary MSWUniv buildable and mark problem for the future (or for now if the print changes are supposed to be complete).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-11-04 19:13:31 +00:00
parent 448c8e496d
commit 498b94a6e0

View File

@@ -283,6 +283,18 @@ static bool wxGetDefaultDeviceName(wxString& deviceName, wxString& portName)
// Gets an HDC for the specified printer configuration
WXHDC WXDLLEXPORT wxGetPrinterDC(const wxPrintData& printDataConst)
{
#if defined(__WXUNIVERSAL__) && (!defined(__WXMSW__) || wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW)
#if 0
wxPostScriptPrintNativeData *data =
(wxPostScriptPrintNativeData *) printDataConst.GetNativeData();
// FIXME: how further ???
#else
return 0;
#endif
#else // Postscript vs. native Windows
wxWindowsPrintNativeData *data =
(wxWindowsPrintNativeData *) printDataConst.GetNativeData();
@@ -327,6 +339,7 @@ WXHDC WXDLLEXPORT wxGetPrinterDC(const wxPrintData& printDataConst)
GlobalUnlock(hDevMode);
return (WXHDC) hDC;
#endif
}
// ----------------------------------------------------------------------------