projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for last commit
[wxWidgets.git]
/
src
/
os2
/
dirdlg.cpp
diff --git
a/src/os2/dirdlg.cpp
b/src/os2/dirdlg.cpp
index 095621b978ebe12a862622298ae8d5f1f48db38d..31dd1bf89b1628f4f99881d068a9d1a2a94ba84f 100644
(file)
--- a/
src/os2/dirdlg.cpp
+++ b/
src/os2/dirdlg.cpp
@@
-1,28
+1,40
@@
/////////////////////////////////////////////////////////////////////////////
// Name: dirdlg.cpp
// Purpose: wxDirDialog
/////////////////////////////////////////////////////////////////////////////
// Name: dirdlg.cpp
// Purpose: wxDirDialog
-// Author:
AUTHOR
+// Author:
David Webster
// Modified by:
// Modified by:
-// Created:
??/??/98
+// Created:
10/14/99
// RCS-ID: $Id$
// RCS-ID: $Id$
-// Copyright: (c)
AUTHOR
-// Licence: wxWindows licence
+// Copyright: (c)
David Webster
+// Licence:
wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
-#pragma implementation "dirdlg.h"
+
#pragma implementation "dirdlg.h"
#endif
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifndef WX_PRECOMP
+#include <stdio.h>
#include "wx/defs.h"
#include "wx/utils.h"
#include "wx/dialog.h"
#include "wx/dirdlg.h"
#include "wx/defs.h"
#include "wx/utils.h"
#include "wx/dialog.h"
#include "wx/dirdlg.h"
+#endif
+#include "wx/os2/private.h"
#include "wx/cmndata.h"
#include "wx/cmndata.h"
-#if !USE_SHARED_LIBRARY
+#include <math.h>
+#include <stdlib.h>
+#include <string.h>
+
+#define wxDIALOG_DEFAULT_X 300
+#define wxDIALOG_DEFAULT_Y 300
+
IMPLEMENT_CLASS(wxDirDialog, wxDialog)
IMPLEMENT_CLASS(wxDirDialog, wxDialog)
-#endif
wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message,
const wxString& defaultPath,
wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message,
const wxString& defaultPath,
@@
-31,12
+43,12
@@
wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message,
m_message = message;
m_dialogStyle = style;
m_parent = parent;
m_message = message;
m_dialogStyle = style;
m_parent = parent;
-
m_path = defaultPath;
+ m_path = defaultPath;
}
int wxDirDialog::ShowModal()
{
// TODO
}
int wxDirDialog::ShowModal()
{
// TODO
-
return wxID_CANCEL;
+ return wxID_CANCEL;
}
}