Skip to content

Commit

Permalink
A new function for use in #1946
Browse files Browse the repository at this point in the history
  • Loading branch information
gunterkoenigsmann committed Sep 5, 2024
1 parent 83722f8 commit 9beff17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cells/Cell.h
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ class Cell: public Observed
virtual void SetValue(const wxString &WXUNUSED(text)) {}
//! Gets the text this text cell contains
virtual const wxString &GetValue() const;
virtual const wxString GetDisplayedString() const {return GetValue();}

//! Get the first cell in this list of cells
Cell *first() const;
Expand Down
1 change: 1 addition & 0 deletions src/cells/TextCell.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class TextCell : public Cell
wxString ToOMML() const override;
wxString ToRTF() const override;
virtual wxString ToString() const override;
virtual const wxString GetDisplayedString() const override {return m_displayedText;}
wxString ToTeX() const override;
wxString ToXML() const override;

Expand Down

0 comments on commit 9beff17

Please sign in to comment.