several patches and extensions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -122,7 +122,7 @@ int wxMessageDialog::ShowModal()
|
||||
{
|
||||
// thats a cancel missing
|
||||
param.defaultText = (CFStringRef) kAlertDefaultOKText ;
|
||||
param.cancelText = NULL;
|
||||
param.cancelText = (CFStringRef) kAlertDefaultCancelText ;
|
||||
param.otherText = NULL;
|
||||
param.helpButton = false ;
|
||||
param.defaultButton = kAlertStdAlertOKButton;
|
||||
@@ -197,9 +197,8 @@ int wxMessageDialog::ShowModal()
|
||||
{
|
||||
if (m_dialogStyle & wxCANCEL)
|
||||
{
|
||||
// thats a cancel missing
|
||||
param.defaultText = (StringPtr) kAlertDefaultOKText ;
|
||||
param.cancelText = NULL;
|
||||
param.cancelText = (StringPtr) kAlertDefaultCancelText ;
|
||||
param.otherText = NULL;
|
||||
param.helpButton = false ;
|
||||
param.defaultButton = kAlertStdAlertOKButton;
|
||||
|
||||
Reference in New Issue
Block a user