param value is empty in this case, but there is still a valid bimap
node.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39173
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
button->SetDefault();
SetupWindow(button);
- if (!GetParamValue(wxT("selected")).IsEmpty())
+ if (GetParamNode(wxT("selected")))
button->SetBitmapSelected(GetBitmap(wxT("selected")));
- if (!GetParamValue(wxT("focus")).IsEmpty())
+ if (GetParamNode(wxT("focus")))
button->SetBitmapFocus(GetBitmap(wxT("focus")));
- if (!GetParamValue(wxT("disabled")).IsEmpty())
+ if (GetParamNode(wxT("disabled")))
button->SetBitmapDisabled(GetBitmap(wxT("disabled")));
return button;