Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
wxBitmapButton wxSmith bug in code generation
(1/1)
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 :
--- Code: ---m_btnRecFirst->SetBitmapSelected(wxBitmap(wxImage(_T("first_dis.gif"))));
m_btnRecFirst->SetBitmapFocus();
--- End code ---
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:
Thanks you're doing a very nice work. :)
Navigation
[0] Message Index
Go to full version