Get rid of redundant casts
This commit is contained in:
parent
6652243b6f
commit
d872229be3
3 changed files with 3 additions and 3 deletions
|
|
@ -1569,7 +1569,7 @@ public:
|
|||
// Returns position in parent's array.
|
||||
unsigned int GetIndexInParent() const
|
||||
{
|
||||
return (unsigned int)m_arrIndex;
|
||||
return m_arrIndex;
|
||||
}
|
||||
|
||||
// Hides or reveals the property.
|
||||
|
|
|
|||
|
|
@ -485,7 +485,7 @@ public:
|
|||
// Returns true if page is visibly displayed.
|
||||
bool IsDisplayed() const;
|
||||
|
||||
bool IsInNonCatMode() const { return (bool)(m_properties == m_abcArray); }
|
||||
bool IsInNonCatMode() const { return m_properties == m_abcArray; }
|
||||
|
||||
void DoLimitPropertyEditing( wxPGProperty* p, bool limit = true )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ wxPGGlobalVarsClass::~wxPGGlobalVarsClass()
|
|||
|
||||
#if wxUSE_VALIDATORS
|
||||
for ( size_t i = 0; i < m_arrValidators.size(); i++ )
|
||||
delete ((wxValidator*)m_arrValidators[i]);
|
||||
delete (m_arrValidators[i]);
|
||||
#endif
|
||||
|
||||
// Destroy editor class instances.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue