Error #1: appears on launch, in a popup, as wxMessageBox
-------- start dump -------
title is "wxwidgets Debug Alert", inside the error message is:
/Users/myuser/Library/wxWidgets-2.8.6/include/wx/dcbuffer.h(251): assert "win->GetBackgroundStyle() == wxBG_STYLE_CUSTOM" failed in TestWinStyle(): In constructor, you need to call SetBackgroundStyle(wxBG_STYLE_CUSTOM), and also, if needed, paint the background manually in the paint event handler.
Do you want to stop the program?
You can also choose [Cancel] to suppress further warnings.
-------- end dump -------
I did this, but I still get the same warning.
Error #2: appears the moment I am closing the message box from Error #1.
-------- start dump -------
Can't load image from file 'images/img.ico': file does not exist
and then there's "details" button, which also shows many lines of:
Can't load image from <hidden> 19:14:40
no bitmap handler ... <hidden> 19:14:40
...
...
..
many many repititions ( for each image - 2 lines )
...
-------- end dump -------
why does it happen ?
where does the program expect to find and which handler ?
I am running from the code, in myApp::Oninit()
wxInitAllImageHandlers();
InitXmlResource();