Opened 6 years ago

Closed 6 years ago

#14766 closed enhancement (fixed)

wxXmlResourceHandler additional window styles and extended error checking

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


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 (1)

xmlres.patch download (4.5 KB) - added by sodev 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by sodev

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

comment:2 Changed 6 years ago by VZ

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

(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.