Document that wxDC::Clear() uses white background by default

This officially documents the historical behaviour of this method in
wxMSW and wxGTK2.
This commit is contained in:
Vadim Zeitlin
2019-10-02 02:39:16 +02:00
parent 1bcde69a73
commit 864cc1aa71

View File

@@ -261,6 +261,9 @@ public:
Note that SetBackground() method must be used to set the brush used by 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 Clear(), the brush used for filling the shapes set by SetBrush() is
ignored by it. ignored by it.
If no background brush was set, solid white brush is used to clear the
device context.
*/ */
void Clear(); void Clear();