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

Offline manianis

  • Multiple posting newcomer
  • *
  • Posts: 25
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: [Select]
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

Offline manianis

  • Multiple posting newcomer
  • *
  • Posts: 25
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.  :)