loveamy / duilib

Automatically exported from code.google.com/p/duilib
0 stars 1 forks source link

UIDlgBuilder.cpp #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Line 345

            if( pControl == NULL && m_pCallback != NULL ) {
                pControl = m_pCallback->CreateControl(pstrClass);
                pControl->SetName(pstrClass);
            }

希望增加            pControl->SetName(pstrClass); 
这行代码,这样创建的控件有自己的name,不然所有回调产生�
��Container的name 都是空,若子控件向上查找,则无法定位。

Original issue reported on code.google.com by mingwang...@gmail.com on 13 Jun 2012 at 3:53