Ticket #11618 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

[wxOSX / Carbon] r63105 wxTextCtrl / wxTextEntry

Reported by: jatupper Owned by:
Priority: normal Milestone:
Component: wxOSX-Carbon Version:
Keywords: Cc:
Blocked By: Patch: no
Blocking:

Description

After revision 63105:

- m_editable
- m_maxLength
- m_triggerUpdateEvents
- EnableTextChangedEvents

are doubly present in wxTextCtrl (as direct members, and in the wxTextEntry base class). Some of my application's wxTextCtrls stopped working after the revision as some of the duplicated members aren't being set at construction time.

After:

- bracketing out the above four members from wxTextCtrl,
- adding the top three members to wxTextEntry::wxTextEntry's initialization list, and
- removing the assignments to the top three members from wxTextCtrl::Init,

my application's wxTextCtrls were functioning again.

I could submit a patch, but since I'm 20+ files away from trunk (due to patches I've already submitted sitting in trac) it's not that convenient to peel apart the changes at the moment.

Change History

Changed 3 years ago by KO

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

(In [63129]) Remove duplicate fields in wxTextCtrl / wxTextEntry. Fixes #11618.

Note: See TracTickets for help on using tickets.