]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_bmpcbox.cpp
consistently use ExtractLang() everywhere instead of Left/Mid wxString methods; added...
[wxWidgets.git] / 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;
     }