CComponentsItem: Remove parameter from function isAdded()

This commit is contained in:
Michael Liebmann
2013-10-21 09:06:42 +02:00
parent b91960f82a
commit b3559e37f8
2 changed files with 2 additions and 2 deletions

View File

@@ -245,7 +245,7 @@ class CComponentsItem : public CComponents
///returns pointer to the form object in which this item is embedded. ///returns pointer to the form object in which this item is embedded.
virtual CComponentsItem * getParent(){return cc_parent;}; virtual CComponentsItem * getParent(){return cc_parent;};
///property: returns true if item is added to a form ///property: returns true if item is added to a form
virtual bool isAdded(CComponentsItem *parent_frm = NULL); virtual bool isAdded();
///abstract: paint item, arg: do_save_bg see paintInit() above ///abstract: paint item, arg: do_save_bg see paintInit() above
virtual void paint(bool do_save_bg = CC_SAVE_SCREEN_YES) = 0; virtual void paint(bool do_save_bg = CC_SAVE_SCREEN_YES) = 0;

View File

@@ -153,7 +153,7 @@ int CComponentsItem::getItemType()
} }
//returns true if current item is added to a form //returns true if current item is added to a form
bool CComponentsItem::isAdded(CComponentsItem *parent_frm) bool CComponentsItem::isAdded()
{ {
if (cc_parent) if (cc_parent)
return true; return true;