From: Vadim Zeitlin Date: Tue, 23 Nov 2010 13:12:33 +0000 (+0000) Subject: VC6 compilation fix: don't return void values. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/00bc0d1734f114c53674c475d642b9a2f0202448?ds=inline VC6 compilation fix: don't return void values. Fix VC6 compilation broken by r66237: don't return the result from a void function, this compiler doesn't support this C++ feature. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/msgdlg.cpp b/src/msw/msgdlg.cpp index 35332c4d70..9b8440932a 100644 --- a/src/msw/msgdlg.cpp +++ b/src/msw/msgdlg.cpp @@ -610,7 +610,7 @@ void wxMessageDialog::DoCentre(int dir) return; #endif // wxHAS_MSW_TASKDIALOG - return wxMessageDialogBase::DoCentre(dir); + wxMessageDialogBase::DoCentre(dir); } // ----------------------------------------------------------------------------