Important: The information in this document is obsolete and should not be used for new development.
GXIgnoreGraphicsWarningYou can use the
GXIgnoreGraphicsWarningfunction to ignore warnings.
void GXIgnoreGraphicsWarning(gxGraphicsWarning warning);
- The warning number or warning name to ignore.
GXIgnoreGraphicsWarningfunction adds the warning to be ignored to the ignore warning stack. The posting of warnings is suppressed for all warnings on the ignore warning stack. Warnings may be removed from the ignore warnings stack by the use of the
You may use any Quickdraw GX warning numbers and warning names or, if you have installed an application-defined warning handler, you may use your own warning numbers and warning names, as long as they use a numbering system different than that provided by QuickDraw GX.
GXIgnoreGraphicsWarningfunction saves warning numbers in a warning stack of limited size, so that a limited number of warnings can be ignored at one time. If the
GXIgnoreGraphicsWarningfunction has been called too many times with no matching calls to the
GXPopGraphicsWarningfunction, subsequent calls to the
GXIgnoreGraphicsWarningfunction do not cause the warning to be ignored and a
warning_stack_overflowwarning is posted.
ERRORS, WARNINGS, AND NOTICES
SEE ALSOThe use of this function is described in the section "Ignoring Warnings and Notices" beginning on page 3-36.
QuickDraw GX non-debugging warnings that may be posted are listed in the section "Warnings" beginning on page 3-10. Debugging warnings are listed in the section "Warnings" beginning on page 3-10.
GXPopGraphicsWarningfunction is described in the next section.