(svn r18345) -Codechange: Warn the window that it gets initialized, so it can do some work ahead.

This commit is contained in:
alberth
2009-11-29 21:14:34 +00:00
parent c0ae932b4d
commit 57ea707cc4
2 changed files with 9 additions and 1 deletions

View File

@@ -534,6 +534,12 @@ public:
/*** Event handling ***/
/**
* Notification that the nested widget tree gets initialized. The event can be used to perform general computations.
* @note #nested_root and/or #nested_array (normally accessed via #GetWidget()) may not exist during this call.
*/
virtual void OnInit() { }
/**
* Compute the initial position of the window.
* @param *desc The pointer to the WindowDesc of the window to create.