зеркало из https://github.com/mozilla/pjs.git
backing off using JMDrawFrameInPort, as it's currently unimplemented!
This commit is contained in:
Родитель
d71982851f
Коммит
ef9d6954fd
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче