OS/2 does not have a native dirdlg, use generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -26,7 +26,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString;
|
|||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/dirdlg.h"
|
#include "wx/mac/dirdlg.h"
|
||||||
#elif defined(__WXPM__)
|
#elif defined(__WXPM__)
|
||||||
#include "wx/os2/dirdlg.h"
|
#include "wx/generic/dirdlgg.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -37,10 +37,10 @@ class WXDLLEXPORT wxGenericDirDialog: public wxDialog
|
|||||||
public:
|
public:
|
||||||
wxGenericDirDialog(): wxDialog() {}
|
wxGenericDirDialog(): wxDialog() {}
|
||||||
wxGenericDirDialog(wxWindow* parent, const wxString& title,
|
wxGenericDirDialog(wxWindow* parent, const wxString& title,
|
||||||
const wxString& defaultPath = wxEmptyString,
|
const wxString& defaultPath = wxEmptyString,
|
||||||
long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER,
|
long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& sz = wxSize(450, 550),
|
const wxSize& sz = wxSize(450, 550),
|
||||||
const wxString& name = _T("dialog"));
|
const wxString& name = _T("dialog"));
|
||||||
|
|
||||||
//// Accessors
|
//// Accessors
|
||||||
@@ -75,7 +75,7 @@ protected:
|
|||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
};
|
};
|
||||||
|
|
||||||
#if !defined(__WXMSW__) && !defined(__WXMAC__) && !defined(__WXPM__)
|
#if !defined(__WXMSW__) && !defined(__WXMAC__)
|
||||||
#define wxDirDialog wxGenericDirDialog
|
#define wxDirDialog wxGenericDirDialog
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user