previous up next     contents index
Next: wxTabSnip: wxTextSnip Up: wxStyleList: wxObject Previous: wxStyleList::Number

wxStyleList::StyleToIndex

  int StyleToIndex (wxStyle *style)

Returns the index for a particular style. The index for a style's base style (and shift style, if it is a join style) is guaranteed to be lower than the style's own index. (As a result, the root style's index is always 0.) An style's index can change whenever a new style is added to the list, or the base style or shift style of another style is changed.



PLT