Removed unused local variable from wxPropertyGrid::GetPropertyRect

This commit is contained in:
Artur Wieczorek
2015-07-06 21:50:23 +02:00
parent b2af64faaf
commit 28e2e0f475

View File

@@ -2552,8 +2552,6 @@ int wxPropertyGrid::DoDrawItems( wxDC& dc,
wxRect wxPropertyGrid::GetPropertyRect( const wxPGProperty* p1, const wxPGProperty* p2 ) const
{
wxRect r;
if ( m_width < 10 || m_height < 10 ||
!m_pState->DoGetRoot()->GetChildCount() ||
p1 == NULL )