Use wxEmptyString instead of dedicated wxPropertyGridInterface member variable.

This commit is contained in:
Artur Wieczorek
2015-07-16 21:00:38 +02:00
parent 8749496b15
commit 4588acb21b
2 changed files with 4 additions and 4 deletions

View File

@@ -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();
} }

View File

@@ -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);
} }
} }
} }