]> git.saurik.com Git - wxWidgets.git/commitdiff
VC6 compilation fix: don't return void values.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Nov 2010 13:12:33 +0000 (13:12 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Nov 2010 13:12:33 +0000 (13:12 +0000)
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

src/msw/msgdlg.cpp

index 35332c4d70544e2785cb58e52be02c4eb26755b3..9b8440932abb2bac1d51efb15d9d9a472a7466a3 100644 (file)
@@ -610,7 +610,7 @@ void wxMessageDialog::DoCentre(int dir)
         return;
 #endif // wxHAS_MSW_TASKDIALOG
 
-    return wxMessageDialogBase::DoCentre(dir);
+    wxMessageDialogBase::DoCentre(dir);
 }
 
 // ----------------------------------------------------------------------------