Can't use context() in ui::Widget constructor, move use elsewhere.

TODO: Seems like a design flaw to me... Either eliminate need for context(), or pass into constructors.
This commit is contained in:
Jared Boone 2015-08-14 17:52:29 -07:00
parent a7226820d0
commit 32312a6cfb
2 changed files with 15 additions and 7 deletions

View file

@ -367,6 +367,9 @@ public:
void focus() override;
void on_show() override;
void on_hide() override;
private:
ReceiverModel& receiver_model;