Draws a rectangle. The current pen is used for the outline and the current brush for filling the shape.
Restrictions on the magnitude of drawing coordinates are described with wx:dc%.