git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5497
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
12 files changed:
# include <dl.h>
typedef shl_t wxDllType;
#elif defined(__WINDOWS__)
# include <dl.h>
typedef shl_t wxDllType;
#elif defined(__WINDOWS__)
typedef HMODULE wxDllType;
#elif defined(__OS2__)
# define INCL_DOS
typedef HMODULE wxDllType;
#elif defined(__OS2__)
# define INCL_DOS
// include standard Windows headers
#ifdef __WXMSW__
// include standard Windows headers
#ifdef __WXMSW__
#include "wx/msw/winundef.h"
#endif
#include "wx/msw/winundef.h"
#endif
#include "wx/filefn.h"
#endif //WX_PRECOMP
#include "wx/filefn.h"
#endif //WX_PRECOMP
#include "wx/datetime.h"
#include "wx/cmdline.h"
#include "wx/datetime.h"
#include "wx/cmdline.h"
#define wxDEFINE_TIME_CONSTANTS // before including datetime.h
#define wxDEFINE_TIME_CONSTANTS // before including datetime.h
#include "wx/datetime.h"
// ----------------------------------------------------------------------------
#include "wx/datetime.h"
// ----------------------------------------------------------------------------
#endif
#include "wx/wxprec.h"
#endif
#include "wx/wxprec.h"
+#if defined(__WINDOWS__)
+#include "wx/msw/private.h"
+#endif
#ifdef __BORLANDC__
#pragma hdrstop
#ifdef __BORLANDC__
#pragma hdrstop
# define wxDllOpen(lib) dlopen(lib.fn_str(), RTLD_NOW/*RTLD_LAZY*/)
# define wxDllGetSymbol(handle, name) dlsym(handle, name.mb_str())
# define wxDllClose dlclose
# define wxDllOpen(lib) dlopen(lib.fn_str(), RTLD_NOW/*RTLD_LAZY*/)
# define wxDllGetSymbol(handle, name) dlsym(handle, name.mb_str())
# define wxDllClose dlclose
#elif defined(HAVE_SHL_LOAD)
# define wxDllOpen(lib) shl_load(lib.fn_str(), BIND_DEFERRED, 0)
# define wxDllClose shl_unload
#elif defined(HAVE_SHL_LOAD)
# define wxDllOpen(lib) shl_load(lib.fn_str(), BIND_DEFERRED, 0)
# define wxDllClose shl_unload
static inline void *wxDllGetSymbol(shl_t handle, const wxString& name)
{
void *sym;
static inline void *wxDllGetSymbol(shl_t handle, const wxString& name)
{
void *sym;
return (void *)0;
}
#elif defined(__WINDOWS__)
return (void *)0;
}
#elif defined(__WINDOWS__)
// using LoadLibraryEx under Win32 to avoid name clash with LoadLibrary
# ifdef __WIN32__
# define wxDllOpen(lib) ::LoadLibraryEx(lib, 0, 0)
// using LoadLibraryEx under Win32 to avoid name clash with LoadLibrary
# ifdef __WIN32__
# define wxDllOpen(lib) ::LoadLibraryEx(lib, 0, 0)
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifdef __BORLANDC__
#pragma hdrstop
#endif
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
+#if defined(__WINDOWS__)
+#include "wx/msw/private.h"
+#endif
#include "wx/serbase.h"
#include "wx/datstrm.h"
#include "wx/serbase.h"
#include "wx/datstrm.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
+#include "wx/msw/private.h" // needs to be before #include <commdlg.h>
#ifdef __BORLANDC__
#pragma hdrstop
#ifdef __BORLANDC__
#pragma hdrstop
#include <print.h>
#endif
#include <print.h>
#endif
-#include "wx/msw/private.h"
-
IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject)
// ---------------------------------------------------------------------------
IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject)
// ---------------------------------------------------------------------------
#include "wx/event.h"
#endif
#include "wx/event.h"
#endif
+#include "wx/msw/private.h" // must be before #include "dynlib.h"
+
#if !wxUSE_DYNLIB_CLASS
#error You need wxUSE_DYNLIB_CLASS to be 1 to compile dialup.cpp.
#endif
#if !wxUSE_DYNLIB_CLASS
#error You need wxUSE_DYNLIB_CLASS to be 1 to compile dialup.cpp.
#endif
-#include "wx/msw/private.h"
-
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
+#include "wx/msw/private.h"
#ifdef __BORLANDC__
#pragma hdrstop
#ifdef __BORLANDC__
#pragma hdrstop
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
+#include "wx/msw/private.h"
#ifdef __BORLANDC__
#pragma hdrstop
#ifdef __BORLANDC__
#pragma hdrstop
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/intl.h"
#include "wx/log.h"
- #include "wx/msw/private.h"
+// #include "wx/msw/private.h"
#endif
#if !defined(__WIN32__) || defined(__SALFORDC__) || defined(__WXWINE__)
#endif
#if !defined(__WIN32__) || defined(__SALFORDC__) || defined(__WXWINE__)
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
+#include "wx/msw/private.h"
#ifdef __BORLANDC__
#pragma hdrstop
#ifdef __BORLANDC__
#pragma hdrstop
#ifndef WX_PRECOMP
#include "wx/window.h"
#ifndef WX_PRECOMP
#include "wx/window.h"
- #include "wx/msw/private.h"
+// #include "wx/msw/private.h"
#include "wx/font.h"
#include "wx/bitmap.h"
#include "wx/dcmemory.h"
#include "wx/font.h"
#include "wx/bitmap.h"
#include "wx/dcmemory.h"