+
+protected:
+ /**
+ Can be overridden in the derived classes to treat some normal items as
+ spacers.
+
+ This method is used to determine whether the given @a item should be
+ considered to be a spacer for the purposes of @c wxREMOVE_LEADING_SPACES
+ implementation. By default only returns @true for the real spacers.
+ */
+ virtual bool IsSpaceItem(wxSizerItem *item) const;