Pasting confusion
Igor Korot <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <CA+FnnTzc3SUWwR27BA1YopzUnBH64ZkwmXvsa=xVJY_=5Z2jZQ@mail.gmail.com> |
Hi, I'm trying to look at the "Paste" command inside the wxTextCtrl on wxGTK. While the src/gtk/textctrl.cpp has a default handler for wxID_PASTE, the sample "text" does not use it. Instead if I understand correctly it has 2 different handlers: one from the menu and one from the context menu. And they are not simple event passers or caling the default paste command handler - they do their own things. Is there a reason why those 2 are not hidden inside the textctrl and exposed in the sample? Moreover - are all 3 do the same thing - paste the text from the clipboard into the text control? Could someone please clarify those? Thank you. P.S.: This is in regards to the PR 24061. -- 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%2BFnnTzc3SUWwR27BA1YopzUnBH64ZkwmXvsa%3DxVJY_%3D5Z2jZQ%40mail.gmail.com.