X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d8268a1d64de58aab194e4d8ae800c755990aad..8397cab4dafee82a887785a80ab8f588a68d9f27:/include/wx/msw/textctrl.h diff --git a/include/wx/msw/textctrl.h b/include/wx/msw/textctrl.h index 736beed112..3f09055cdf 100644 --- a/include/wx/msw/textctrl.h +++ b/include/wx/msw/textctrl.h @@ -188,7 +188,7 @@ public: // Show a context menu for Rich Edit controls (the standard // EDIT control has one already) - void OnRightClick(wxMouseEvent& event); + void OnContextMenu(wxContextMenuEvent& event); // be sure the caret remains invisible if the user // called HideNativeCaret() before @@ -260,12 +260,6 @@ private: wxMenu* m_privateContextMenu; bool m_isNativeCaretShown; - - // this is an optimization: instead of checking all the time whether we - // need to move the caret to the end of text (before appending to the - // control), we remember whether it is already at the end of text in this - // variable - bool m_isCaretAtEnd; }; #endif