X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb46a9a6c6f291806a5fecbb848930c344e17e11..87d4e2710b77c7d69c7f7042fc876d9411957dd3:/src/os2/dirdlg.cpp diff --git a/src/os2/dirdlg.cpp b/src/os2/dirdlg.cpp index 1dd38fa43a..f833230fef 100644 --- a/src/os2/dirdlg.cpp +++ b/src/os2/dirdlg.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dirdlg.cpp +// Name: src/os2/dirdlg.cpp // Purpose: wxDirDialog // Author: David Webster // Modified by: @@ -12,34 +12,31 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#ifndef WX_PRECOMP -#include -#include "wx/defs.h" -#include "wx/utils.h" -#include "wx/dialog.h" #include "wx/dirdlg.h" + +#ifndef WX_PRECOMP + #include + #include "wx/utils.h" + #include "wx/dialog.h" + #include "wx/cmndata.h" #endif #include "wx/os2/private.h" -#include "wx/cmndata.h" -#include #include #include #define wxDIALOG_DEFAULT_X 300 #define wxDIALOG_DEFAULT_Y 300 -#if !USE_SHARED_LIBRARY IMPLEMENT_CLASS(wxDirDialog, wxDialog) -#endif wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message, const wxString& defaultPath, long style, const wxPoint& pos) { m_message = message; - m_dialogStyle = style; + m_windowStyle = style; m_parent = parent; m_path = defaultPath; } @@ -49,4 +46,3 @@ int wxDirDialog::ShowModal() // TODO return wxID_CANCEL; } -