Make all the controls non-copyable so that I don't get weird, insidious, hard-to-track errors from forgetting a reference mark like I did when converting the edit item type dialogs

This commit is contained in:
2014-11-29 02:14:48 -05:00
parent c855983de4
commit ed056368c1
7 changed files with 18 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ public:
bool isClickable();
virtual ~cTextMsg();
void draw();
cTextMsg& operator=(cTextMsg& other) = delete;
cTextMsg(cTextMsg& other) = delete;
private:
bool drawFramed, clickable;
short textSize;