resolving ambiguity

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2014-07-04 16:52:02 +00:00
parent b3be8e77be
commit 9680ce04e2

View File

@@ -160,7 +160,7 @@ int wxMessageDialog::ShowModal()
wxCFStringRef cfCancelString( GetCancelLabel().c_str(), GetFont().GetEncoding() );
wxCFStringRef cfTitle( msgtitle, GetFont().GetEncoding() );
wxCFStringRef cfText = msgtext.IsEmpty() ? NULL : wxCFStringRef( msgtext, GetFont().GetEncoding() );
wxCFStringRef cfText = msgtext.IsEmpty() ? wxCFStringRef() : wxCFStringRef( msgtext, GetFont().GetEncoding() );
param.movable = true;
param.flags = 0;