CodeLite 9.2.8, Windows 10, wxCrafter 2.7 (licensed), wxWidgets latest from GitHub.
I have a project that has been working fine for ages until I made a small change to the text under a wxRibbonButtonBar button (and recompiled).
Now I receive run time asserts on all the icons in that particular wxRibbonButtonBar.
The following error is given:
Code: Select all
Error: XRC error: XRC resource "project-edit" (class "wxBitmap") not found
Code: Select all
wxASSERT(bitmap.IsOk() || bitmap_small.IsOk());
Code: Select all
m_ProjectButtonBar->AddButton(wxID_ANY, _("Edit Item"), wxXmlResource::Get()->LoadBitmap(wxT("project-edit")), _("Help String"), wxRIBBON_BUTTON_NORMAL);
And yet when I view the ribbon in wxCrafter everything appears to be normal. I have never used the XRC system manually and don't understand the mechanism so this has got me stumped.
I realise that the above is probably not enough information, so please could you let me know which files to look in to diagnose further.