-
Committer:
Tim Penhey
-
Date:
2011-08-17 23:56:40 UTC
-
Revision ID:
tim.penhey@canonical.com-20110817235640-6o5x2w1jg1193xs2
Update ScrollView to initialize all its members.
The m_ViewContentWidth was being accessed in the PreLayout method
which is before it had a value set in the PostLayout method.
By initializing it, at least it is in a known state initially.
I removed the protected functions for setting and getting the
protected members. It seemed somewhat unnecessary.
Also removed three unused private member variables.