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:
@@ -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
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user