Hi all. I'm trying to load xpm icon in wxWidgets under windows.
If i include the xpm file like this: #include "icon.xpm"
and then use: wxIcon(icon_xpm); it work OK.
but i need to load an ico from file, and for some reason the icon->LoadFile("icon.xpm",wxBITMAP_TYPE_XPM,-1,-1) fails.
I walked the function with debugger and found that it fails cos it can't find handler that will be able to load xpm file. and the docs say that it IS possible to do so. so does anyone know how?