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