X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..04fa04d8067d235ab45b5bc05b65f0679634b541:/src/motif/filedlg.cpp diff --git a/src/motif/filedlg.cpp b/src/motif/filedlg.cpp index 87d267cbd9..cf105fe9be 100644 --- a/src/motif/filedlg.cpp +++ b/src/motif/filedlg.cpp @@ -165,7 +165,7 @@ int wxFileDialog::ShowModal() Arg args[10]; int ac = 0; - if (m_backgroundColour.Ok()) + if (m_backgroundColour.IsOk()) { wxComputeColours (dpy, & m_backgroundColour, NULL); @@ -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);