/////////////////////////////////////////////////////////////////////////////
-// Name: filedlg.cpp
+// Name: src/motif/filedlg.cpp
// Purpose: wxFileDialog
// Author: Julian Smart
// Modified by:
// 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"
#define XtWindow XTWINDOW
#endif
-#include "wx/defs.h"
-#include "wx/utils.h"
#include "wx/filedlg.h"
-#include "wx/intl.h"
-#include "wx/app.h"
-#include "wx/settings.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/intl.h"
+ #include "wx/app.h"
+ #include "wx/utils.h"
+ #include "wx/settings.h"
+#endif
+
#include "wx/tokenzr.h"
#include "wx/stockitem.h"
wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message,
const wxString& defaultDir, const wxString& defaultFileName, const wxString& wildCard,
- long style, const wxPoint& pos)
- :wxFileDialogBase(parent, message, defaultDir, defaultFileName, wildCard, style, pos)
+ long style, const wxPoint& pos, const wxSize& sz, const wxString& name)
+ :wxFileDialogBase(parent, message, defaultDir, defaultFileName, wildCard, style, pos, sz, name)
{
m_filterIndex = 1;
}
#endif
Widget fileSel = XmCreateFileSelectionDialog(parentWidget,
- "file_selector", args, ac);
+ wxMOTIF_STR("file_selector"),
+ args, ac);
#define wxFSChild( name ) \
XmFileSelectionBoxGetChild(fileSel, name)