[ wxwindows-Bugs-1521921 ] Cannot paste long texts on a multiline wxTextCtrl

SourceForge.net noreply at sourceforge.net
Thu Jul 13 09:13:18 PDT 2006


Bugs item #1521921, was opened at 2006-07-13 16:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1521921&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: progettodex (progettodex)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot paste long texts on a multiline wxTextCtrl

Initial Comment:
When a large text is copied on the clipboard, only the
first 32K characters are inserted on a multiline
wxTextCtrl created either with wxTE_RICH/wxTE_RICH2 flags.
This should not be a "SetMaxLength" issue, since I can
add new characters to the control, for example stroking
some keys on my keyboard.
If I type a number of characters equal to or greater
than the length of the text in the clipboard, and then
clear them, the "paste" operation successfully copies
all the clipboard contents into the control.

Seems like the WM_PASTE event handler is not able to
extend the memory currently allocated for the control
contents...

This happens with wxWidgets 2.6.3 compiled as a static
library (unicode/release configuration) with MS Visual
Studio .NET 2003 on a Win XP box.

Regards,
dex


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1521921&group_id=9863




More information about the wx-dev mailing list