The only method in the device context related methods in ooDialog to fill a rectangle is the rectangle() method.
This method either draws only the outline of the rectangle with the current pen, or draws the outline and fills it. Since there is no way to get a pen with a system color, there is no way to fill a rectangle with a system color, without getting an ugly outline around it.
Anonymous
Committed revision 9923. [r9923] Basic implementation and test.
Related
Commit: [r9923]
Committed revision 9933. [r9933]