desktop: move popup and subsurface ctors to factories
makes sure m_pSelf is set before we do anything like possibly adding children fixes #9275 supersedes #9276
This commit is contained in:
parent
5b43c106bd
commit
c6f672257b
8 changed files with 80 additions and 49 deletions
|
|
@ -59,7 +59,7 @@ class CLayerSurface {
|
|||
CBox geometry = {0, 0, 0, 0};
|
||||
Vector2D position;
|
||||
std::string szNamespace = "";
|
||||
UP<CPopup> popupHead;
|
||||
SP<CPopup> popupHead;
|
||||
|
||||
void onDestroy();
|
||||
void onMap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue