backing off using JMDrawFrameInPort, as it's currently unimplemented!

This commit is contained in:
beard%netscape.com 1999-07-30 03:26:00 +00:00
Родитель d71982851f
Коммит ef9d6954fd
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -191,6 +191,8 @@ void MRJFrame::menuSelected(UInt32 message, SInt16 modifiers)
void MRJFrame::print(GrafPtr printingPort, Point frameOrigin) void MRJFrame::print(GrafPtr printingPort, Point frameOrigin)
{ {
#if 0
// this doesn't work, as Apple hasn't implemented it yet.
OSStatus status = JMDrawFrameInPort(mFrameRef, printingPort, frameOrigin, printingPort->clipRgn, false); OSStatus status = JMDrawFrameInPort(mFrameRef, printingPort, frameOrigin, printingPort->clipRgn, false);
if (status != noErr) { if (status != noErr) {
::MoveTo(10, 12); ::MoveTo(10, 12);
@ -198,4 +200,5 @@ void MRJFrame::print(GrafPtr printingPort, Point frameOrigin)
::TextSize(12); ::TextSize(12);
::DrawString("\pMRJPlugin: printing failed."); ::DrawString("\pMRJPlugin: printing failed.");
} }
#endif
} }