summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Scriver/src/msgdialog.cpp2
-rw-r--r--src/mir_app/src/srmm_base.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp
index f119bc4458..6ad1230ffe 100644
--- a/plugins/Scriver/src/msgdialog.cpp
+++ b/plugins/Scriver/src/msgdialog.cpp
@@ -259,8 +259,6 @@ bool CMsgDialog::OnInitDialog()
m_message.SendMsg(EM_EXLIMITTEXT, 0, nMax);
}
- // get around a lame bug in the Windows template resource code where richedits are limited to 0x7FFF
- ::DragAcceptFiles(m_message.GetHwnd(), TRUE);
CreateInfobar();
if (isChat()) {
diff --git a/src/mir_app/src/srmm_base.cpp b/src/mir_app/src/srmm_base.cpp
index f3649b9867..d835c3f8bf 100644
--- a/src/mir_app/src/srmm_base.cpp
+++ b/src/mir_app/src/srmm_base.cpp
@@ -459,6 +459,7 @@ bool CSrmmBaseDialog::OnInitDialog()
SetWindowLongPtr(m_message.GetHwnd(), GWLP_USERDATA, LPARAM(this));
mir_subclassWindow(m_message.GetHwnd(), stubMessageProc);
m_message.SetReadOnly(false);
+ ::DragAcceptFiles(m_message.GetHwnd(), TRUE);
if (isChat()) {
SetWindowLongPtr(m_nickList.GetHwnd(), GWLP_USERDATA, LPARAM(this));