When I set the [Pressed .Bmp] field in the wxSmith property panel. The wxSmith generates this code which must be deleted each time I'm compiling the project :
m_btnRecFirst->SetBitmapSelected(wxBitmap(wxImage(_T("first_dis.gif"))));
m_btnRecFirst->SetBitmapFocus();
The problem is corrected by setting both the [Pressed .Bmp] property and the [Focused .Bmp] property.
I'm using the lastest SVN of 07/02/2007 on Windows platform.