Prevent from instantiation of wxPropertyGridIteratorBase
The purpose of this class is to be a base class for wxPropertyGridIterator classes.
This commit is contained in:
parent
6863b0a92d
commit
d3c194590d
2 changed files with 6 additions and 3 deletions
|
|
@ -162,9 +162,10 @@ wxPG_ITERATE_DEFAULT = wxPG_ITERATE_NORMAL
|
|||
// Base for wxPropertyGridIterator classes.
|
||||
class WXDLLIMPEXP_PROPGRID wxPropertyGridIteratorBase
|
||||
{
|
||||
public:
|
||||
protected:
|
||||
wxPropertyGridIteratorBase() = default;
|
||||
|
||||
public:
|
||||
void Assign( const wxPropertyGridIteratorBase& it );
|
||||
|
||||
bool AtEnd() const { return m_property == nullptr; }
|
||||
|
|
|
|||
|
|
@ -181,9 +181,10 @@ wxPG_ITERATE_DEFAULT = wxPG_ITERATE_NORMAL
|
|||
*/
|
||||
class wxPropertyGridIteratorBase
|
||||
{
|
||||
public:
|
||||
protected:
|
||||
wxPropertyGridIteratorBase();
|
||||
|
||||
public:
|
||||
void Assign( const wxPropertyGridIteratorBase& it );
|
||||
|
||||
bool AtEnd() const;
|
||||
|
|
@ -232,7 +233,8 @@ public:
|
|||
wxPropertyGridIterator( wxPropertyGridPageState* state,
|
||||
int flags, int startPos, int dir = 0 );
|
||||
wxPropertyGridIterator( const wxPropertyGridIterator& it );
|
||||
~wxPropertyGridIterator();};
|
||||
~wxPropertyGridIterator();
|
||||
};
|
||||
|
||||
/**
|
||||
Const version of wxPropertyGridIterator.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue