#14718 closed defect (fixed)

wxSizerXmlHandler::SetGrowables can make wxArgNormalizer assert

Reported by: dghart Owned by:
Priority: normal Milestone: 2.9.5
Component: XRC Version: stable-latest
Keywords: wxArgNormalizer assert Cc:
Blocked By: Blocking:
Patch: yes

Description

The ReportParamError() call in wxSizerXmlHandler::SetGrowables truncates a long to an int, triggering a wxArgNormalizer assert. The attached patch prevents this.

Attachments (1)

xh_sizer.diff download (469 bytes) - added by dghart 19 months ago.

Download all attachments as: .zip

Change History (2)

Changed 19 months ago by dghart

comment:1 Changed 19 months ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [72603]) Fix assert about passing long as "%d" in wxXRC code.

Closes #14718.

Note: See TracTickets for help on using tickets.