Fix minor compil warning

This commit is contained in:
jean-pierre charras 2023-01-24 16:42:09 +01:00
parent 88d3e46d5b
commit f80fea6593
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ public:
PGPROPERTY_COLORENUM( const wxString& aLabel, wxString& aName, wxPGChoices* aChoices,
int aValue = 0 ) :
wxEnumProperty( aLabel, aName, *aChoices, aValue ),
m_colorFunc( []( int aValue ) { return wxNullColour; } )
m_colorFunc( []( int aDummy ) { return wxNullColour; } )
{
SetFlag( wxPG_PROP_CUSTOMIMAGE );
}