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:
Włodzimierz Skiba
2004-11-08 19:54:24 +00:00
parent fd864f01f2
commit 3f0785de9a
2 changed files with 2 additions and 2 deletions

View File

@@ -1429,7 +1429,7 @@ void wxWindowDC::Clear()
{
wxCHECK_RET( Ok(), "invalid dc" );
wxRect rect( wxPoint( 0, 0 ), GetSize() );
wxRect rect( GetSize() );
Clear( rect );
}