X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..97e49559fb0e1dfc43d66e8784ec47182f5507e9:/src/motif/filedlg.cpp diff --git a/src/motif/filedlg.cpp b/src/motif/filedlg.cpp index 87d267cbd9..e2da28904a 100644 --- a/src/motif/filedlg.cpp +++ b/src/motif/filedlg.cpp @@ -228,7 +228,7 @@ int wxFileDialog::ShowModal() Widget shell = XtParent(fileSel); - if (!m_message.IsNull()) + if ( !m_message.empty() ) XtVaSetValues(shell, XmNtitle, (const char*)m_message.mb_str(), NULL);