Get shorter code with new wxRect constructor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1429,7 +1429,7 @@ void wxWindowDC::Clear()
|
||||
{
|
||||
wxCHECK_RET( Ok(), "invalid dc" );
|
||||
|
||||
wxRect rect( wxPoint( 0, 0 ), GetSize() );
|
||||
wxRect rect( GetSize() );
|
||||
Clear( rect );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user