Important: The information in this document is obsolete and should not be used for new development.
GXIgnoreGraphicsWarning
You can use theGXIgnoreGraphicsWarning
function to ignore warnings.
void GXIgnoreGraphicsWarning(gxGraphicsWarning warning);
warning
- The warning number or warning name to ignore.
DESCRIPTION
TheGXIgnoreGraphicsWarning
function 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 theGXPopGraphicsWarning
function.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.
SPECIAL CONSIDERATIONS
TheGXIgnoreGraphicsWarning
function saves warning numbers in a warning stack of limited size, so that a limited number of warnings can be ignored at one time. If theGXIgnoreGraphicsWarning
function has been called too many times with no matching calls to theGXPopGraphicsWarning
function, subsequent calls to theGXIgnoreGraphicsWarning
function do not cause the warning to be ignored and awarning_stack_overflow
warning is posted.ERRORS, WARNINGS, AND NOTICES
Warnings warning_stack_overflow SEE ALSO
The 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.
The
GXPopGraphicsWarning
function is described in the next section.