/////////////////////////////////////////////////////////////////////////////
-// Name: dirdlg.cpp
+// Name: src/os2/dirdlg.cpp
// Purpose: wxDirDialog
// Author: David Webster
// Modified by:
// Created: 10/14/99
-// RCS-ID: $Id$
// Copyright: (c) David Webster
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// 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/modalhook.h"
+
+#ifndef WX_PRECOMP
+ #include <stdio.h>
+ #include "wx/utils.h"
+ #include "wx/dialog.h"
#endif
#include "wx/os2/private.h"
-#include "wx/cmndata.h"
-#include <math.h>
#include <stdlib.h>
#include <string.h>
long style, const wxPoint& pos)
{
m_message = message;
- m_dialogStyle = style;
+ m_windowStyle = style;
m_parent = parent;
m_path = defaultPath;
}
int wxDirDialog::ShowModal()
{
+ WX_HOOK_MODAL_DIALOG();
+
// TODO
return wxID_CANCEL;
}
-