]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/filedlg.cpp
Implement undo and redo for the ie and gtk webkit backends. Extend the sample to...
[wxWidgets.git] / src / motif / filedlg.cpp
index 87d267cbd99971e5dcc07a92eec956e9b5214ca5..e2da28904a1e00aa211b1cae43ca5c5f9df3b1d8 100644 (file)
@@ -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);