News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

wxBitmapButton wxSmith bug in code generation

Started by manianis, February 10, 2007, 09:16:57 PM

Previous topic - Next topic

manianis

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.


byo

Yop, Copy+Paste bug  :oops: already fixed in svn :)

Thanx for feedback :)

   BYO

manianis