- // get the height and, if the pointer is not NULL, width of our labels
- int GetLabelsSize(int *width = NULL) const;
+ // Get the height and, if the pointers are non NULL, widths of both labels.
+ //
+ // Notice that the return value will be 0 if we don't have wxSL_LABELS
+ // style but we do fill widthMin and widthMax even if we don't have
+ // wxSL_MIN_MAX_LABELS style set so the caller should account for it.
+ int GetLabelsSize(int *widthMin = NULL, int *widthMax = NULL) const;