Remove the need for all cControl subclasses to be friends of cDialog

(Now only cControl itself is a friend.)
This commit is contained in:
2014-12-06 02:27:38 -05:00
parent edf755c7c9
commit beacf9dadc
8 changed files with 21 additions and 20 deletions

View File

@@ -78,7 +78,7 @@ cTextMsg::cTextMsg(cDialog& parent) :
drawFramed(false),
textFont(FONT_BOLD),
textSize(10),
color(parent.defTextClr),
color(parent.getDefTextClr()),
clickable(false),
fromList("none") {}