I have wxDialog which has a wxGrid inside and I have made an event for EVT_GRID_CELL_RIGHT_CLICK which selects the row you have right clicked.
The problem is when you right click in between cells where you would go to resize them it crashes. The error it gives is
wxAssertFailure failed DoNotifyWindowAboutCaptureLost: window that captured the mouse didn't process wxEVT_MOUSE_CAPTURE_LOST
I am not sure how to fix this or where to process the wxEVT_MOUSE_CAPTURE_LOST. Any ideas?
wxDialog with Grid right click problem
-
- wxWorld Domination!
- Posts: 1471
- Joined: Tue Nov 14, 2006 7:58 am
- Location: Saint-Petersburg, Russia
Hi,
it is really a bug here
As a temporary workaround you can just disable drag sizing:
It will possible to change grid cols/rows size with mouse dragging inside cols/rows labels.
it is really a bug here
As a temporary workaround you can just disable drag sizing:
Code: Select all
m_grid->DisableDragGridSize();
OS: Windows XP Pro
Compiler: MSVC++ 7.1
wxWidgets: 2.8.10
Compiler: MSVC++ 7.1
wxWidgets: 2.8.10