]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/filedlg.cpp
Warning fix.
[wxWidgets.git] / src / motif / filedlg.cpp
index 8173d408e9d73e405206056a1c0f253fe47341be..0d3c9abdbe28fedf4facd0e30680d4ee8d64b98a 100644 (file)
@@ -9,10 +9,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "filedlg.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -193,7 +189,8 @@ int wxFileDialog::ShowModal()
 #endif
 
     Widget fileSel = XmCreateFileSelectionDialog(parentWidget,
-                                                 "file_selector", args, ac);
+                                                 wxMOTIF_STR("file_selector"),
+                                                 args, ac);
 #define wxFSChild( name ) \
     XmFileSelectionBoxGetChild(fileSel, name)