Use wxDynamicCast() instead of IsKindOf() checks.
This commit is contained in:
@@ -353,7 +353,7 @@ void wxPGTextCtrlEditor::DrawValue( wxDC& dc, wxPGProperty* property, const wxRe
|
||||
// Code below should no longer be needed, as the obfuscation
|
||||
// is now done in GetValueAsString.
|
||||
/*if ( property->HasFlag(wxPG_PROP_PASSWORD) &&
|
||||
property->IsKindOf(WX_PG_CLASSINFO(wxStringProperty)) )
|
||||
wxDynamicCast(property, wxStringProperty) )
|
||||
{
|
||||
size_t a = drawStr.length();
|
||||
drawStr.Empty();
|
||||
|
Reference in New Issue
Block a user