Author Topic: wxBitmapButton wxSmith bug in code generation  (Read 4810 times)

manianis

  • Guest
wxBitmapButton wxSmith bug in code generation
« on: February 10, 2007, 09:16:57 pm »
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 :
Code
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.


Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: wxBitmapButton wxSmith bug in code generation
« Reply #1 on: February 13, 2007, 12:33:33 am »
Yop, Copy+Paste bug  :oops: already fixed in svn :)

Thanx for feedback :)

   BYO

manianis

  • Guest
Re: wxBitmapButton wxSmith bug in code generation
« Reply #2 on: February 13, 2007, 09:54:54 pm »
Thanks you're doing a very nice work.  :)