]> git.saurik.com Git - wxWidgets.git/commitdiff
Add MSVS autoexp.dat fragment for some common wxWidgets types.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 20 Jun 2012 18:24:22 +0000 (18:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 20 Jun 2012 18:24:22 +0000 (18:24 +0000)
As we have gdb pretty printers under the version control, it makes sense to
also put MSVS visualizers there as well.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

misc/msvc/autoexp.inc [new file with mode: 0644]

diff --git a/misc/msvc/autoexp.inc b/misc/msvc/autoexp.inc
new file mode 100644 (file)
index 0000000..d595951
--- /dev/null
@@ -0,0 +1,16 @@
+; This is a fragment that is supposed to be pasted into your autoexp.dat file
+; found somewhere under MSVS installation directory (its exact location depends
+; MSVS version so the simplest thing to do is to just search for it there).
+
+[AutoExpand]
+wxPoint=<x>,<y>
+wxSize=<x>*<y>
+wxRect=<x>,<y> <width>*<height>
+
+wxLongLong=<m_ll>
+wxString=<m_impl>
+
+[Visualizer]
+wxDateTime{
+        preview  (#if ($e.IsValid()) ([wxDumpDate(&($e)),s]) #else (#("NIL")))
+}