X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88e04461ee02856153ba56901247b34ad4de5b00..32485259c1342115488d219776dfebeb3d4d81b1:/include/wx/msw/textctrl.h diff --git a/include/wx/msw/textctrl.h b/include/wx/msw/textctrl.h index e19c77eb7d..5d7815f099 100644 --- a/include/wx/msw/textctrl.h +++ b/include/wx/msw/textctrl.h @@ -148,7 +148,7 @@ public: virtual void Command(wxCommandEvent& event); virtual bool MSWCommand(WXUINT param, WXWORD id); - virtual WXHBRUSH MSWControlColor(WXHDC hDC); + virtual WXHBRUSH MSWControlColor(WXHDC hDC, WXHWND hWnd); #if wxUSE_RICHEDIT virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result); @@ -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