
Next: wxStyleDelta::alignmentOff
Up: wxStyleDelta: wxObject
Previous: wxStyleDelta: wxObject
To font weight change is specified through the weightOn and weightOff instance variables. These interact in the following way:
- If both weightOn and weightOff are set to wxBASE,
then the font weight is not changed.
- If weightOn is not wxBASE, then the weight is set to
weightOn.
- If weightOff is not wxBASE, then the weight will be set back
to wxNORMAL when the base style has the weight weightOff.
- If both weightOn and weightOff are set to the same
value, then the weight is toggled with respect to that value: if
the base style has the weight weightOn, then weight is changed to
wxNORMAL; if the base style has a different weight, it is changed to
weightOn.
- If both weightOn and weightOff are set, but to
different values, then the weight is changed to weightOn
only when the base style has the weight weightOff.
Font styles, underlining, and alignment work in an analogous manner.
PLT