In this wxGrid I want nothing to pop up at all. I have another wxGrid in my app which is read-only cells where I popup a context menu myself which seems to work fine. I do this by handling EVT_GRID_CELL_RIGHT_CLICK.
I was able to get a debug mode diagnostic out of the "grid" sample. I'm on Windows 7, Visual Studio 2010, wxWidgets version 3.0.2.
I double clicked to select text in one of the cells of the wxGrid in the sample, then right-clicked and chose Insert Unicode Control Character->LRM.
The following diagnostic popped up:
[03] wxWindow::MSWHandleMessage c:\erp.dev\thirdparty\wxwidgets-3.0.2\src\msw\window.cpp:3504
[04] wxWindow::MSWWindowProc c:\erp.dev\thirdparty\wxwidgets-3.0.2\src\msw\window.cpp:3645
[05] wxTextCtrl::MSWWindowProc c:\erp.dev\thirdparty\wxwidgets-3.0.2\src\msw\textctrl.cpp:2083
[06] wxWndProc c:\erp.dev\thirdparty\wxwidgets-3.0.2\src\msw\window.cpp:2711
[07] gapfnScSendMessage
[08] GetThreadDesktop
[09] GetThreadDesktop
[10] GetThreadDesktop
[11] KiUserCallbackDispatcher
[12] DPA_Merge
[13] gapfnScSendMessage
[14] GetThreadDesktop
[15] GetClientRect
[16] CallWindowProcW
[17] wxWindow::MSWDefWindowProc c:\erp.dev\thirdparty\wxwidgets-3.0.2\src\msw\window.cpp:2270
[18] wxWindow::MSWWindowProc c:\erp.dev\thirdparty\wxwidgets-3.0.2\src\msw\window.cpp:3651
[19] wxTextCtrl::MSWWindowProc c:\erp.dev\thirdparty\wxwidgets-3.0.2\src\msw\textctrl.cpp:2083
[20] wxWndProc c:\erp.dev\thirdparty\wxwidgets-3.0.2\src\msw\window.cpp:2711
Do you want to stop the program?
You can also choose [Cancel] to suppress further warnings.
---------------------------
Yes No Cancel
---------------------------
Is this enough of a bug to file at trac.widgets.org or is this expected behavior?
P.S. - I can't seem to figure out how to add a forum signature, I can't find the button/box to fill in.