Changes for mingw32/gcc-2.95

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
J. Russell Smyth
1999-09-14 20:55:29 +00:00
parent 0045dee3f4
commit 6627a4b049

View File

@@ -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();