diff options
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdlgutils.cpp | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp index 168ed1334f..7de395df5e 100644 --- a/plugins/TabSRMM/src/msgdlgutils.cpp +++ b/plugins/TabSRMM/src/msgdlgutils.cpp @@ -1639,11 +1639,6 @@ void CTabBaseDlg::DetermineMinHeight() m_pContainer->uChildMinHeight = height;
}
-bool CTabBaseDlg::IsAutoSplitEnabled() const
-{
- return (m_pContainer->dwFlags & CNT_AUTOSPLITTER) && !(m_dwFlagsEx & MWF_SHOW_SPLITTEROVERRIDE);
-}
-
LONG CTabBaseDlg::GetDefaultMinimumInputHeight() const
{
LONG height = (m_pContainer->dwFlags & CNT_BOTTOMTOOLBAR) ? DPISCALEY_S(46 + 22) : DPISCALEY_S(46);
@@ -1654,6 +1649,17 @@ LONG CTabBaseDlg::GetDefaultMinimumInputHeight() const return height;
}
+bool CTabBaseDlg::IsAutoSplitEnabled() const
+{
+ return (m_pContainer->dwFlags & CNT_AUTOSPLITTER) && !(m_dwFlagsEx & MWF_SHOW_SPLITTEROVERRIDE);
+}
+
+void CTabBaseDlg::LimitMessageText(int iLen)
+{
+ if (this != nullptr)
+ m_message.SendMsg(EM_EXLIMITTEXT, 0, iLen);
+}
+
static LIST<wchar_t> vTempFilenames(5);
// send a pasted bitmap by file transfer.
|