Refactor property attribute names in wxPGProperty::GetAttribute calls.
Use attribute constants instead of strings in wxPGProperty and wxPGDefaultRenderer classes and in NumericValidation() function. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2297,12 +2297,12 @@ inline unsigned int wxPropertyGridPageState::GetActualVirtualHeight() const
|
||||
|
||||
inline wxString wxPGProperty::GetHintText() const
|
||||
{
|
||||
wxVariant vHintText = GetAttribute(wxPGGlobalVars->m_strHint);
|
||||
wxVariant vHintText = GetAttribute(wxPG_ATTR_HINT);
|
||||
|
||||
#if wxPG_COMPATIBILITY_1_4
|
||||
// Try the old, deprecated "InlineHelp"
|
||||
if ( vHintText.IsNull() )
|
||||
vHintText = GetAttribute(wxPGGlobalVars->m_strInlineHelp);
|
||||
vHintText = GetAttribute(wxPG_ATTR_INLINE_HELP);
|
||||
#endif
|
||||
|
||||
if ( !vHintText.IsNull() )
|
||||
|
Reference in New Issue
Block a user