From b3559e37f8fa079806d08f198c97c33a1983d1fd Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Mon, 21 Oct 2013 09:06:42 +0200 Subject: [PATCH] CComponentsItem: Remove parameter from function isAdded() --- src/gui/components/cc.h | 2 +- src/gui/components/cc_item.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/components/cc.h b/src/gui/components/cc.h index 683cc6fdd..6426285fe 100644 --- a/src/gui/components/cc.h +++ b/src/gui/components/cc.h @@ -245,7 +245,7 @@ class CComponentsItem : public CComponents ///returns pointer to the form object in which this item is embedded. virtual CComponentsItem * getParent(){return cc_parent;}; ///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 virtual void paint(bool do_save_bg = CC_SAVE_SCREEN_YES) = 0; diff --git a/src/gui/components/cc_item.cpp b/src/gui/components/cc_item.cpp index 7406544b6..d8d4fbbf0 100644 --- a/src/gui/components/cc_item.cpp +++ b/src/gui/components/cc_item.cpp @@ -153,7 +153,7 @@ int CComponentsItem::getItemType() } //returns true if current item is added to a form -bool CComponentsItem::isAdded(CComponentsItem *parent_frm) +bool CComponentsItem::isAdded() { if (cc_parent) return true;