Emphasize that wxDC::Clear() used brush set by SetBackground()

Ensure that people don't get the impression that using SetBrush() is
supposed to affect Clears().

See #18463.
This commit is contained in:
Vadim Zeitlin
2019-09-14 23:08:20 +02:00
parent 9d704706cb
commit dfc6cdc063

View File

@@ -257,6 +257,10 @@ public:
/**
Clears the device context using the current background brush.
Note that SetBackground() method must be used to set the brush used by
Clear(), the brush used for filling the shapes set by SetBrush() is
ignored by it.
*/
void Clear();