Formatting.

This commit is contained in:
Jeff Young 2022-01-22 22:44:46 +00:00
parent 0926eb3287
commit dcf0928671
1 changed files with 8 additions and 14 deletions

View File

@ -97,10 +97,7 @@ public:
void SetErrorMessage( const wxString& aMessage ) { m_errorMessage = aMessage; }
void SetItems( const KIIDS& aIds )
{
m_ids = aIds;
}
void SetItems( const KIIDS& aIds ) { m_ids = aIds; }
void AddItem( EDA_ITEM* aItem );
@ -246,15 +243,13 @@ public:
/**
* Called by the wxDataView to fetch an item's value.
*/
void GetValue( wxVariant& aVariant,
wxDataViewItem const& aItem,
void GetValue( wxVariant& aVariant, wxDataViewItem const& aItem,
unsigned int aCol ) const override;
/**
* Called by the wxDataView to edit an item's content.
*/
bool SetValue( wxVariant const& aVariant,
wxDataViewItem const& aItem,
bool SetValue( wxVariant const& aVariant, wxDataViewItem const& aItem,
unsigned int aCol ) override
{
// Editing not supported
@ -265,8 +260,7 @@ public:
* Called by the wxDataView to fetch an item's formatting. Return true if the
* item has non-default attributes.
*/
bool GetAttr( wxDataViewItem const& aItem,
unsigned int aCol,
bool GetAttr( wxDataViewItem const& aItem, unsigned int aCol,
wxDataViewItemAttr& aAttr ) const override;
void ValueChanged( const RC_TREE_NODE* aNode );