wangchyz / duilib_googlecode

从google code备份过来,仅作存档
https://github.com/duilib/duilib
8 stars 10 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