Opened 5 years ago

Closed 5 years ago

#11618 closed defect (fixed)

[wxOSX / Carbon] r63105 wxTextCtrl / wxTextEntry

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

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

comment:1 Changed 5 years ago by KO

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

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

Note: See TracTickets for help on using tickets.