Formatting.
This commit is contained in:
parent
0926eb3287
commit
dcf0928671
|
@ -97,10 +97,7 @@ public:
|
||||||
|
|
||||||
void SetErrorMessage( const wxString& aMessage ) { m_errorMessage = aMessage; }
|
void SetErrorMessage( const wxString& aMessage ) { m_errorMessage = aMessage; }
|
||||||
|
|
||||||
void SetItems( const KIIDS& aIds )
|
void SetItems( const KIIDS& aIds ) { m_ids = aIds; }
|
||||||
{
|
|
||||||
m_ids = aIds;
|
|
||||||
}
|
|
||||||
|
|
||||||
void AddItem( EDA_ITEM* aItem );
|
void AddItem( EDA_ITEM* aItem );
|
||||||
|
|
||||||
|
@ -170,7 +167,7 @@ protected:
|
||||||
wxString m_settingsKey; ///< The key used to describe this type of error in settings
|
wxString m_settingsKey; ///< The key used to describe this type of error in settings
|
||||||
MARKER_BASE* m_parent; ///< The marker this item belongs to, if any
|
MARKER_BASE* m_parent; ///< The marker this item belongs to, if any
|
||||||
|
|
||||||
KIIDS m_ids;
|
KIIDS m_ids;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -246,16 +243,14 @@ public:
|
||||||
/**
|
/**
|
||||||
* Called by the wxDataView to fetch an item's value.
|
* Called by the wxDataView to fetch an item's value.
|
||||||
*/
|
*/
|
||||||
void GetValue( wxVariant& aVariant,
|
void GetValue( wxVariant& aVariant, wxDataViewItem const& aItem,
|
||||||
wxDataViewItem const& aItem,
|
unsigned int aCol ) const override;
|
||||||
unsigned int aCol ) const override;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called by the wxDataView to edit an item's content.
|
* Called by the wxDataView to edit an item's content.
|
||||||
*/
|
*/
|
||||||
bool SetValue( wxVariant const& aVariant,
|
bool SetValue( wxVariant const& aVariant, wxDataViewItem const& aItem,
|
||||||
wxDataViewItem const& aItem,
|
unsigned int aCol ) override
|
||||||
unsigned int aCol ) override
|
|
||||||
{
|
{
|
||||||
// Editing not supported
|
// Editing not supported
|
||||||
return false;
|
return false;
|
||||||
|
@ -265,9 +260,8 @@ public:
|
||||||
* Called by the wxDataView to fetch an item's formatting. Return true if the
|
* Called by the wxDataView to fetch an item's formatting. Return true if the
|
||||||
* item has non-default attributes.
|
* item has non-default attributes.
|
||||||
*/
|
*/
|
||||||
bool GetAttr( wxDataViewItem const& aItem,
|
bool GetAttr( wxDataViewItem const& aItem, unsigned int aCol,
|
||||||
unsigned int aCol,
|
wxDataViewItemAttr& aAttr ) const override;
|
||||||
wxDataViewItemAttr& aAttr ) const override;
|
|
||||||
|
|
||||||
void ValueChanged( const RC_TREE_NODE* aNode );
|
void ValueChanged( const RC_TREE_NODE* aNode );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue