wxART_MISSING_IMAGE is not a valid wxArtClient value and doesn't make sense here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1e7c7fce7b
commit
733b7d1eb3
@ -43,7 +43,8 @@ wxObject *wxBitmapComboBoxXmlHandler::DoCreateResource()
|
|||||||
{
|
{
|
||||||
wxCHECK_MSG(m_combobox, NULL, wxT("Incorrect syntax of XRC resource: ownerdrawnitem not within a bitmapcombobox!"));
|
wxCHECK_MSG(m_combobox, NULL, wxT("Incorrect syntax of XRC resource: ownerdrawnitem not within a bitmapcombobox!"));
|
||||||
|
|
||||||
m_combobox->Append(GetText(wxT("text")), GetBitmap(wxT("bitmap"), wxART_MISSING_IMAGE));
|
m_combobox->Append(GetText(wxT("text")),
|
||||||
|
GetBitmap(wxT("bitmap")));
|
||||||
|
|
||||||
return m_combobox;
|
return m_combobox;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user