Ticket #14766 (closed enhancement: fixed)

Opened 7 months ago

Last modified 7 months ago

wxXmlResourceHandler additional window styles and extended error checking

Reported by: sodev Owned by:
Priority: normal Milestone:
Component: XRC Version: 2.9-svn
Keywords: wxXmlResourceHandler styles errorchecking Cc:
Blocked By: Patch: yes
Blocking:

Description

wxXmlResourceHandler::AddWindowStyles() did not add all styles that wxWindow's support, i've added the missing ones.

I have also added additional error checks for extracting long/float values and font objects.

Attachments

xmlres.patch download (4.5 KB) - added by sodev 7 months ago.

Change History

Changed 7 months ago by sodev

Changed 7 months ago by VZ

(In [72708]) Add missing styles support to wxWindow XRC handler.

wxBORDER_RAISED, wx[HV]SCROLL and a few extended styles were not recognized.

See #14766.

Changed 7 months ago by VZ

  • status changed from new to closed
  • resolution set to fixed

(In [72709]) Add more error checks to XRC handler for longs, doubles and fonts.

Verify that the values in the XRC really conform to the expected type.

Closes #14766.

Note: See TracTickets for help on using tickets.