Merge the changes from 3.0 branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -586,9 +586,7 @@ int wxMessageDialog::ShowMessageBox()
|
||||
// do show the dialog
|
||||
int msAns = MessageBox(hWnd, message.t_str(), m_caption.t_str(), msStyle);
|
||||
|
||||
int ret = MSWTranslateReturnCode(msAns);
|
||||
SetReturnCode(ret);
|
||||
return ret;
|
||||
return MSWTranslateReturnCode(msAns);
|
||||
}
|
||||
|
||||
int wxMessageDialog::ShowModal()
|
||||
@@ -623,9 +621,7 @@ int wxMessageDialog::ShowModal()
|
||||
msAns = IDOK;
|
||||
}
|
||||
|
||||
int ret = MSWTranslateReturnCode(msAns);
|
||||
SetReturnCode(ret);
|
||||
return ret;
|
||||
return MSWTranslateReturnCode( msAns );
|
||||
}
|
||||
#endif // wxHAS_MSW_TASKDIALOG
|
||||
|
||||
|
Reference in New Issue
Block a user