Opened 6 years ago

Closed 6 years ago

#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


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 6 years ago.

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by dghart

comment:1 Changed 6 years 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.