Implement deprecated wxPGProperty::GetValueString function only in wxPG 1.4 compatibility mode.
This function was marked as deprecated in 2008. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1647,6 +1647,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
virtual wxString GetValueAsString( int argFlags = 0 ) const;
|
virtual wxString GetValueAsString( int argFlags = 0 ) const;
|
||||||
|
|
||||||
|
#if wxPG_COMPATIBILITY_1_4
|
||||||
/** Synonymous to GetValueAsString().
|
/** Synonymous to GetValueAsString().
|
||||||
|
|
||||||
@deprecated Use GetValueAsString() instead.
|
@deprecated Use GetValueAsString() instead.
|
||||||
@@ -1654,6 +1655,7 @@ public:
|
|||||||
@see GetValueAsString()
|
@see GetValueAsString()
|
||||||
*/
|
*/
|
||||||
wxDEPRECATED( wxString GetValueString( int argFlags = 0 ) const );
|
wxDEPRECATED( wxString GetValueString( int argFlags = 0 ) const );
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns wxPGCell of given column.
|
Returns wxPGCell of given column.
|
||||||
|
@@ -1054,10 +1054,12 @@ wxString wxPGProperty::GetValueAsString( int argFlags ) const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if wxPG_COMPATIBILITY_1_4
|
||||||
wxString wxPGProperty::GetValueString( int argFlags ) const
|
wxString wxPGProperty::GetValueString( int argFlags ) const
|
||||||
{
|
{
|
||||||
return GetValueAsString(argFlags);
|
return GetValueAsString(argFlags);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
bool wxPGProperty::IntToValue( wxVariant& variant, int number, int WXUNUSED(argFlags) ) const
|
bool wxPGProperty::IntToValue( wxVariant& variant, int number, int WXUNUSED(argFlags) ) const
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user