User forums > General (but related to Code::Blocks)

wxSmith - Extra code for a wxMenuItem

(1/1)

PaulS:
I used the extra code item to add a call to SetBackgroundColour to a MenuItem.  The call is generated AFTER the Append call and does not cjange the color (WindowsXP).  If I move the call ahead of the Append all is well.  Could you generate the extra code before the append to appease windows (or wxWidgets) or would that break other stuff?

byo:
There shouldn't be a problem with the change. In fact it should be added before appending (that was the original placement so it must have changed occasionally).

Regards
  BYO

Navigation

[0] Message Index

Go to full version