Use wxEmptyString instead of dedicated wxPropertyGridInterface member variable.
This commit is contained in:
parent
8749496b15
commit
4588acb21b
@ -469,7 +469,7 @@ public:
|
||||
/** Returns help string associated with a property. */
|
||||
wxString GetPropertyHelpString( wxPGPropArg id ) const
|
||||
{
|
||||
wxPG_PROP_ARG_CALL_PROLOG_RETVAL(m_emptyString)
|
||||
wxPG_PROP_ARG_CALL_PROLOG_RETVAL(wxEmptyString)
|
||||
return p->GetHelpString();
|
||||
}
|
||||
|
||||
|
@ -4376,7 +4376,7 @@ bool wxPropertyGrid::DoSelectProperty( wxPGProperty* p, unsigned int flags )
|
||||
{
|
||||
// Clear help box - but only if it was written
|
||||
// by us at previous time.
|
||||
statusbar->SetStatusText( m_emptyString );
|
||||
statusbar->SetStatusText(wxEmptyString);
|
||||
m_iFlags &= ~(wxPG_FL_STRING_IN_STATUSBAR);
|
||||
}
|
||||
}
|
||||
@ -5152,14 +5152,14 @@ bool wxPropertyGrid::HandleMouseMove( int x, unsigned int y,
|
||||
}
|
||||
else
|
||||
{
|
||||
SetToolTip( m_emptyString );
|
||||
SetToolTip(wxEmptyString);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
SetToolTip( m_emptyString );
|
||||
SetToolTip(wxEmptyString);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user