From 7d0b3524858d55cf9a9207e11e2bd0418940492e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 6 Apr 2020 02:44:21 +0200 Subject: [PATCH] Add MSVS debug visualizers for wxGrid{Cell,Block}Coords This makes debugging wxGrid code much more pleasant. --- misc/msvc/wxWidgets.natvis | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/misc/msvc/wxWidgets.natvis b/misc/msvc/wxWidgets.natvis index b08b9d8449..ca15f7cdea 100644 --- a/misc/msvc/wxWidgets.natvis +++ b/misc/msvc/wxWidgets.natvis @@ -41,6 +41,14 @@ http://code.msdn.microsoft.com/windowsdesktop/Writing-type-visualizers-2eae77a2# {m_ll} + + R{m_row + 1}C{m_col + 1} + + + + R{m_topRow + 1}C{m_leftCol + 1}:R{m_bottomRow + 1}C{m_rightCol + 1} + + empty {m_pItems[0]}