using xpm's
Posted: Thu Apr 24, 2008 5:20 pm
hi, I am trying to create bitmap from an xpm file, and not getting any where. This is what I am doing
but doing so does not creats the bitmap and keeps on giving me error "cursor_xpm" undeclared identifer. Do I need to include any extra header file for using xpm's ?
Any help will be appreciated.
Code: Select all
#include "mydir/xpmdata/cursor.xpm"
void MyFrame::CreateControls()
{
wxBitmap cursor(cursor_xpm, wxBITMAP_TYPE_XPM);
}
Any help will be appreciated.