Re: Pasting confusion
Igor Korot <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <CA+FnnTwtx-_vgQefM52DQVC8aU+vmuavyjdjDYAh4UzPY_O-3A@mail.gmail.com> |
Hi, Vadim, On Sat, Nov 18, 2023, 7:28 AM Vadim Zeitlin <[email protected]> wrote: > On Thu, 16 Nov 2023 12:38:28 -0600 Igor Korot wrote: > > IK> While the src/gtk/textctrl.cpp has a default handler for wxID_PASTE, > IK> the sample "text" does not use it. > > The sample does its own thing in order to demonstrate/test different APIs. > Yes, I figured that. But it just confusing (see below). > IK> P.S.: This is in regards to the PR 24061. > > I don't understand the relationship and I don't understand what exactly is > your problem, it would certainly be useful to explain it more clearly. > In order to implement max size limit on multi-line text control I need to do that on the paste functionality. As you wrote in the original PR, ideally we should paste enough for the maximum length and not disregard It at all. But different way of pasting means I should cover many different ways. But maybe it can be combined somehow - I will check on that. Thank you. > Regards, > VZ > -- Please read https://www.wxwidgets.org/support/mlhowto.htm before posting. --- You received this message because you are subscribed to the Google Groups "wx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/CA%2BFnnTwtx-_vgQefM52DQVC8aU%2BvmuavyjdjDYAh4UzPY_O-3A%40mail.gmail.com.