]> git.saurik.com Git - wxWidgets.git/commitdiff
wxART_MISSING_IMAGE is not a valid wxArtClient value and doesn't make sense here
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 29 Sep 2008 19:51:59 +0000 (19:51 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 29 Sep 2008 19:51:59 +0000 (19:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/xrc/xh_bmpcbox.cpp

index 6fc2840bd676c594eb7b44ebd60470afa450ee02..138d2ee58b8e32b73c27e0ca13ecbb5abb0a04cb 100644 (file)
@@ -43,7 +43,8 @@ wxObject *wxBitmapComboBoxXmlHandler::DoCreateResource()
     {
         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;
     }