]> git.saurik.com Git - wxWidgets.git/commitdiff
vc6 did not like this (void function returning a value)
authorChris Elliott <biol75@york.ac.uk>
Fri, 28 Sep 2007 16:01:17 +0000 (16:01 +0000)
committerChris Elliott <biol75@york.ac.uk>
Fri, 28 Sep 2007 16:01:17 +0000 (16:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/textentry.cpp

index 152098e35b79ecb5e1e72cb0e6d7d8b2a0e71a36..05bca2ac1c138c95467e74afa53c35204fb04842 100644 (file)
@@ -74,8 +74,9 @@ void wxTextEntry::Undo()
 \r
 void wxTextEntry::Redo()\r
 {\r
-    // same as Undo, since Undo undoes the undo\r
-    return Undo();\r
+    // same as Undo, since Undo undoes the undo
+    Undo();\r
+    return;\r
 }\r
 \r
 bool wxTextEntry::CanUndo() const\r