wxC7C26InitBitmapResources();
Posted: Sat Dec 28, 2013 12:48 am
In building up another GUI using wxCR 1.3 I end up with this code fragment in my base frame cpp:
But I cannot find wxC7C26InitBitmapResources() anywhere.
The GUI does use XMP icons in the tool bar - possibly that is the problem??
The icons display well enough in wxCR
Code: Select all
// Declare the bitmap loading function
extern void wxC7C26InitBitmapResources(); <<<<<<<<<<<<<<<<<<<<
static bool bBitmapLoaded = false;
MyFrameBase::MyFrameBase(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style)
: wxFrame(parent, id, title, pos, size, style)
{
if ( !bBitmapLoaded ) {
// We need to initialise the default bitmap handler
wxXmlResource::Get()->AddHandler(new wxBitmapXmlHandler);
wxC7C26InitBitmapResources();
bBitmapLoaded = true;
}
......
}
The GUI does use XMP icons in the tool bar - possibly that is the problem??
The icons display well enough in wxCR