Bug 264245. Document requirement that popups have no nsIWidget parent. r+sr=bzbarsky

This commit is contained in:
roc+%cs.cmu.edu 2004-10-21 18:36:57 +00:00
parent 72ab57d855
commit bb89d768de

View File

@ -280,6 +280,9 @@ class nsIWidget : public nsISupports {
* calling code must handle paint messages and clear the background
* itself.
*
* aInitData cannot be eWindowType_popup here; popups cannot be
* hooked into the nsIWidget hierarchy.
*
* @param parent or null if it's a top level window
* @param aRect the widget dimension
* @param aHandleEventFunction the event handler callback function