From 3cb6eaec797ebbe20a0e05e5c9ba625909845e72 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Fri, 28 Sep 2007 16:01:17 +0000 Subject: [PATCH] vc6 did not like this (void function returning a value) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/textentry.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/msw/textentry.cpp b/src/msw/textentry.cpp index 152098e35b..05bca2ac1c 100644 --- a/src/msw/textentry.cpp +++ b/src/msw/textentry.cpp @@ -74,8 +74,9 @@ void wxTextEntry::Undo() void wxTextEntry::Redo() { - // same as Undo, since Undo undoes the undo - return Undo(); + // same as Undo, since Undo undoes the undo + Undo(); + return; } bool wxTextEntry::CanUndo() const -- 2.50.0