Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-6609

text widgets on panels derived from GmatPanel work differently than on ones derived from wxPanel

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: P1
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: R2019a
    • Component/s: GUI
    • Labels:
    • Sprint:
      R2019a

      Description

      For wxTextCtrl widgets on GmatPanel-derived panels, an addition or deletion of a character will cause IsModified() on that widget to return true.

      For wxTextCtrl widgets on wxPanel-derived panels, additions of character(s) will cause IsModified(0 to return true; deletions cause IsModified(0 to return false

      Examples: UniversePanel uses GmatPanel and works OK. All tab panels for Spacecraft (e.g. SPICEPanel) derive from wxPanel and return false for IsModified() when characters are deleted from the wxTextCtrl

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            shughes Steven Hughes added a comment -

            Need to determine if this happens on Windows.

            Show
            shughes Steven Hughes added a comment - Need to determine if this happens on Windows.
            Hide
            shughes Steven Hughes added a comment -

            It appears consistent on Windows 10.

            Show
            shughes Steven Hughes added a comment - It appears consistent on Windows 10.

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: