Get rid of unnecessary casts to wxPGProperty*

These casts are unnecessary and can be removed.
This commit is contained in:
Artur Wieczorek
2019-04-28 17:04:06 +02:00
parent d06d403136
commit 9df9e32a70
5 changed files with 21 additions and 21 deletions

View File

@@ -1477,7 +1477,7 @@ public:
// Returns true if this is a sub-property.
bool IsSubProperty() const
{
wxPGProperty* parent = (wxPGProperty*)m_parent;
wxPGProperty* parent = m_parent;
if ( parent && !parent->IsCategory() )
return true;
return false;