The GUI is built using wxCrafter 2.9 - latest version
I am building under Win 10, 64-bits using MSVC 2029 community edit and wxWidgets 3.1.4
The problem is that the specific button with the given PNG does not display. Other PNGs, built using the same process and GUI builder do display properly in the same app.
The log reports:
Code: Select all
18:08:05: Error: XRC error: XRC resource "Modify_16x16" (class "wxBitmap") not found
As an alternative in tracking this down and to move my project along, because I am convinced it is a wxWidgets issue - wxCrafter is based on wxWidgets and, presumably uses the wxWidgets library for all of the relevant code - I have modified the wxWidgets minimal project and have attached a basic example which shows the same issue.
It reports:
Code: Select all
18:06:08: XRC error: XRC resource "D:/MSVC2019/wxWidgets-3.1.4/samples/minimalPng/modifywxCrafter.xml" (class "wxBitmap") not found
18:06:08: XRC error: XRC resource "modifywxCrafter.xml" (class "wxBitmap") not found
Since this is the first time I had to dig into XRC functionality and hence I am not familiar at all, I have copied the data generated by wxCrafter for the give n PNG and the example shows the same error message when I try to display the image using the same code as used by the wxCrafter generated class