From: Chris Elliott Date: Fri, 28 Sep 2007 16:01:17 +0000 (+0000) Subject: vc6 did not like this (void function returning a value) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3cb6eaec797ebbe20a0e05e5c9ba625909845e72 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 --- 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