fixed bug: wxButton hasn't name set correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
909e23737c
commit
ef02ad9ee7
@ -29,8 +29,9 @@ wxObject *wxButtonXmlHandler::DoCreateResource()
|
|||||||
GetID(),
|
GetID(),
|
||||||
GetText(_T("label")),
|
GetText(_T("label")),
|
||||||
GetPosition(), GetSize(),
|
GetPosition(), GetSize(),
|
||||||
GetStyle());
|
GetStyle(),
|
||||||
button->SetName(GetName());
|
wxDefaultValidator,
|
||||||
|
GetName());
|
||||||
if (GetBool(_T("default"), 0) == 1) button->SetDefault();
|
if (GetBool(_T("default"), 0) == 1) button->SetDefault();
|
||||||
SetupWindow(button);
|
SetupWindow(button);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user