]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/filedlg.cpp
64 bit compilation fix (pointer can't be cast to int); code simplification (don't...
[wxWidgets.git] / src / motif / filedlg.cpp
index 8173d408e9d73e405206056a1c0f253fe47341be..05b7f34166d5344adb537ec9a0bdd70d2f340500 100644 (file)
@@ -193,7 +193,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)