avoid shortcut ampersands in button text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -94,10 +94,10 @@ int wxMessageDialog::ShowModal()
|
||||
wxCFStringRef cfTitle( msgtitle, GetFont().GetEncoding() );
|
||||
wxCFStringRef cfText( msgtext, GetFont().GetEncoding() );
|
||||
|
||||
wxCFStringRef cfNoString( GetNoLabel(), GetFont().GetEncoding() );
|
||||
wxCFStringRef cfYesString( GetYesLabel(), GetFont().GetEncoding() );
|
||||
wxCFStringRef cfOKString( GetOKLabel(), GetFont().GetEncoding()) ;
|
||||
wxCFStringRef cfCancelString( GetCancelLabel(), GetFont().GetEncoding() );
|
||||
wxCFStringRef cfNoString( wxControl::GetLabelText(GetNoLabel()), GetFont().GetEncoding() );
|
||||
wxCFStringRef cfYesString( wxControl::GetLabelText(GetYesLabel()), GetFont().GetEncoding() );
|
||||
wxCFStringRef cfOKString( wxControl::GetLabelText(GetOKLabel()), GetFont().GetEncoding()) ;
|
||||
wxCFStringRef cfCancelString( wxControl::GetLabelText(GetCancelLabel()), GetFont().GetEncoding() );
|
||||
|
||||
NSAlertStyle alertType = GetAlertStyleFromWXStyle(style);
|
||||
|
||||
@@ -227,10 +227,10 @@ void* wxMessageDialog::ConstructNSAlert()
|
||||
NSAlert* alert = [[NSAlert alloc] init];
|
||||
NSAlertStyle alertType = GetAlertStyleFromWXStyle(style);
|
||||
|
||||
wxCFStringRef cfNoString( GetNoLabel(), GetFont().GetEncoding() );
|
||||
wxCFStringRef cfYesString( GetYesLabel(), GetFont().GetEncoding() );
|
||||
wxCFStringRef cfOKString( GetOKLabel(), GetFont().GetEncoding() );
|
||||
wxCFStringRef cfCancelString( GetCancelLabel(), GetFont().GetEncoding() );
|
||||
wxCFStringRef cfNoString( wxControl::GetLabelText(GetNoLabel()), GetFont().GetEncoding() );
|
||||
wxCFStringRef cfYesString( wxControl::GetLabelText(GetYesLabel()), GetFont().GetEncoding() );
|
||||
wxCFStringRef cfOKString( wxControl::GetLabelText(GetOKLabel()), GetFont().GetEncoding() );
|
||||
wxCFStringRef cfCancelString( wxControl::GetLabelText(GetCancelLabel()), GetFont().GetEncoding() );
|
||||
|
||||
wxCFStringRef cfTitle( msgtitle, GetFont().GetEncoding() );
|
||||
wxCFStringRef cfText( msgtext, GetFont().GetEncoding() );
|
||||
|
Reference in New Issue
Block a user