]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/filedlg.cpp
Disable final failing wxWebView test. It fails on the buildbot but not locally.
[wxWidgets.git] / src / motif / filedlg.cpp
index 87d267cbd99971e5dcc07a92eec956e9b5214ca5..cf105fe9be85d72a6b4d76fbfe52591e227501d5 100644 (file)
@@ -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);