X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfa2e032efc57f751b06257fabece5af097ae821..12db77cab1054d288a2b3e2d07e58ad1d6386a53:/src/msw/dirdlg.cpp diff --git a/src/msw/dirdlg.cpp b/src/msw/dirdlg.cpp index 32505241db..5434b5d0d7 100644 --- a/src/msw/dirdlg.cpp +++ b/src/msw/dirdlg.cpp @@ -28,7 +28,7 @@ #include "wx/dirdlg.h" #endif -#if defined(__WIN95__) && !defined(__GNUWIN32__) +#if (defined(__WIN95__) && !defined(__GNUWIN32__))||defined(wxUSE_NORLANDER_HEADERS) #include "shlobj.h" // Win95 shell #endif @@ -89,7 +89,7 @@ wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message, int wxDirDialog::ShowModal(void) { // Unfortunately Gnu-Win32 doesn't yet have COM support -#if defined(__WIN95__) && !defined(__GNUWIN32__) +#if (defined(__WIN95__) && !defined(__GNUWIN32__))||defined(wxUSE_NORLANDER_HEADERS) HWND hWnd = 0; if (m_parent) hWnd = (HWND) m_parent->GetHWND();