+ // we set the label here and not through MSWCreateControl() because we
+ // need to do many operation on it for ellipsization&markup support
+ SetLabel(label);
+
+ // NOTE: if the label contains ampersand characters which are interpreted as
+ // accelerators, they will be rendered (at least on WinXP) only if the
+ // static text is placed inside a window class which correctly handles
+ // focusing by TAB traversal (e.g. wxPanel).
+