News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

wxSmith - Extra code for a wxMenuItem

Started by PaulS, March 16, 2008, 08:15:27 PM

Previous topic - Next topic

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