Hook for subclassers. Current implementation checks if graph selection is
enabled. This is called from mousePressed before initiating the marquee
selection.
Draw the current state of the handler. This is called twice by the
overlay method and also by the paint method. The caller's intention is
that the overlay method draws exactly the current state of the handler so
that it may be used for XOR paint. The drag method calls overlay, changes
the state, and calls overlay again to use this. However, since it is not
always possible to clear the screen with an exact repaint the caller
passes a flag to indicate if the graphics object should be cleared with
this call (eg. if a subsequent call follows).
Parameters: g -