diff --git a/include/wx/richtext/richtextbuffer.h b/include/wx/richtext/richtextbuffer.h index dbfda5f288..5b26abca85 100644 --- a/include/wx/richtext/richtextbuffer.h +++ b/include/wx/richtext/richtextbuffer.h @@ -5760,6 +5760,9 @@ public: virtual wxString GetPropertiesMenuLabel() const { return wxGetTranslation("&Cell"); } + /// Don't allow a cell to be deleted in Defragment + virtual bool IsEmpty() const { return false; } + // Accessors /**