Changes between Version 4 and Version 5 of Ticket #18531, comment 7


Ignore:
Timestamp:
Oct 17, 2019, 2:26:43 PM (10 months ago)
Author:
followait
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18531, comment 7

    v4 v5  
    11Windows is hard, but `SetWindowText` should return `FALSE` in the case, but it doesn't.
    22
    3 So no sense to check the return value of `SetWindowText` inside 'wxStaticText::SetLabel`.
     3So no sense to check the return value of `SetWindowText` inside `wxStaticText::SetLabel`.
    44
    55`wxStaticText::SetLabel` can check the length of text before calling `SetWindowText`.