X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7afd2b58c565ec9d9148c54745bb94613dbea4bf..835165d576b66441987b78519e6ef1fe74ea795a:/include/wx/richtext/richtextctrl.h?ds=inline diff --git a/include/wx/richtext/richtextctrl.h b/include/wx/richtext/richtextctrl.h index f39f601fbb..54e8a6c830 100644 --- a/include/wx/richtext/richtextctrl.h +++ b/include/wx/richtext/richtextctrl.h @@ -212,7 +212,7 @@ class WXDLLIMPEXP_RICHTEXT wxRichTextCtrl : public wxControl, public wxTextCtrlIface, public wxScrollHelper { - DECLARE_CLASS( wxRichTextCtrl ) + DECLARE_DYNAMIC_CLASS( wxRichTextCtrl ) DECLARE_EVENT_TABLE() public: @@ -351,31 +351,38 @@ public: long GetDelayedLayoutThreshold() const { return m_delayedLayoutThreshold; } /** + Gets the flag indicating that full layout is required. */ bool GetFullLayoutRequired() const { return m_fullLayoutRequired; } /** + Sets the flag indicating that full layout is required. */ void SetFullLayoutRequired(bool b) { m_fullLayoutRequired = b; } /** + Returns the last time full layout was performed. */ wxLongLong GetFullLayoutTime() const { return m_fullLayoutTime; } /** + Sets the last time full layout was performed. */ void SetFullLayoutTime(wxLongLong t) { m_fullLayoutTime = t; } /** + Returns the position that should be shown when full (delayed) layout is performed. */ long GetFullLayoutSavedPosition() const { return m_fullLayoutSavedPosition; } /** + Sets the position that should be shown when full (delayed) layout is performed. */ void SetFullLayoutSavedPosition(long p) { m_fullLayoutSavedPosition = p; } - // Force any pending layout due to large buffer /** + Forces any pending layout due to delayed, partial layout when the control + was resized. */ void ForceDelayedLayout();