Remove obsolete code from propgrid sample
This is code for v3.x so it doesn't make sense to check version against v2.8.
This commit is contained in:
@@ -133,11 +133,7 @@ void FormMain::OnDumpList( wxCommandEvent& WXUNUSED(event) )
|
|||||||
|
|
||||||
wxString strValue = v.GetString();
|
wxString strValue = v.GetString();
|
||||||
|
|
||||||
#if wxCHECK_VERSION(2,8,0)
|
|
||||||
if ( v.GetName().EndsWith("@attr") )
|
if ( v.GetName().EndsWith("@attr") )
|
||||||
#else
|
|
||||||
if ( v.GetName().Right(5) == "@attr" )
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
text += wxString::Format("Attributes:\n");
|
text += wxString::Format("Attributes:\n");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user