(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
This commit is contained in:
@@ -460,7 +460,10 @@ public:
|
||||
* The window must be repainted.
|
||||
* @note This method should not change any state, it should only use drawing functions.
|
||||
*/
|
||||
virtual void OnPaint() {}
|
||||
virtual void OnPaint()
|
||||
{
|
||||
this->DrawWidgets();
|
||||
}
|
||||
|
||||
/**
|
||||
* Draw the contents of a nested widget.
|
||||
|
Reference in New Issue
Block a user