On-demand creation of the pages for speedup of sample launch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -98,6 +98,9 @@ public:
|
||||
// return the control shown by this page
|
||||
virtual wxControl *GetWidget() const = 0;
|
||||
|
||||
// lazy creation of the content
|
||||
virtual void CreateContent() = 0;
|
||||
|
||||
// some pages show 2 controls, in this case override this one as well
|
||||
virtual wxControl *GetWidget2() const { return NULL; }
|
||||
|
||||
|
Reference in New Issue
Block a user