modified configure to allow configuration of wxMotif under Darwin/Mac OS X
wxWindows can be configured as wxMac or wxMotif under Mac OS X replaced __WXMAC_X__ define by __DARWIN__ (general Darwin related issues) moved dlopen/dlerror code to dynlib.cpp to make it available for wxMotif git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -36,11 +36,11 @@
|
||||
#include "wx/dir.h"
|
||||
#include "wx/filefn.h" // for wxPathExists()
|
||||
|
||||
#ifndef __WXMAC_X__
|
||||
#ifndef __DARWIN__
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#if defined(__WXMAC__) && !defined(__UNIX__)
|
||||
#ifndef __DARWIN__
|
||||
#include "morefile.h"
|
||||
#include "moreextr.h"
|
||||
#include "fullpath.h"
|
||||
@@ -118,7 +118,7 @@ wxDirData::wxDirData(const wxString& dirname)
|
||||
m_CPB.hFileInfo.ioNamePtr = m_name ;
|
||||
m_index = 0 ;
|
||||
|
||||
#ifdef __WXMAC_X__
|
||||
#ifdef __DARWIN__
|
||||
// TODO: what are we supposed to do for Mac OS X
|
||||
#else
|
||||
FSpGetDirectoryID( &fsspec , &m_dirId , &m_isDir ) ;
|
||||
|
Reference in New Issue
Block a user