changed wxDL_DEFAULT to be same as wxDL_NOW as this makes more sense for portable programs because wxDL_NOW is the only flag supported by Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -147,6 +147,7 @@ be a combination of the following bits:
|
|||||||
\twocolitem{wxDL\_GLOBAL}{equivalent of RTLD\_GLOBAL under Unix, ignored elsewhere}
|
\twocolitem{wxDL\_GLOBAL}{equivalent of RTLD\_GLOBAL under Unix, ignored elsewhere}
|
||||||
\twocolitem{wxDL\_VERBATIM}{don't try to append the appropriate extension to
|
\twocolitem{wxDL\_VERBATIM}{don't try to append the appropriate extension to
|
||||||
the library name (this is done by default).}
|
the library name (this is done by default).}
|
||||||
|
\twocolitem{wxDL\_DEFAULT}{default flags, same as wxDL\_NOW currently}
|
||||||
\end{twocollist}
|
\end{twocollist}
|
||||||
|
|
||||||
Returns \true if the library was successfully loaded, \false otherwise.
|
Returns \true if the library was successfully loaded, \false otherwise.
|
||||||
|
@@ -69,21 +69,18 @@ class WXDLLIMPEXP_BASE wxDynamicLibraryDetailsCreator;
|
|||||||
enum wxDLFlags
|
enum wxDLFlags
|
||||||
{
|
{
|
||||||
wxDL_LAZY = 0x00000001, // resolve undefined symbols at first use
|
wxDL_LAZY = 0x00000001, // resolve undefined symbols at first use
|
||||||
|
// (only works on some Unix versions)
|
||||||
wxDL_NOW = 0x00000002, // resolve undefined symbols on load
|
wxDL_NOW = 0x00000002, // resolve undefined symbols on load
|
||||||
|
// (default, always the case under Win32)
|
||||||
wxDL_GLOBAL = 0x00000004, // export extern symbols to subsequently
|
wxDL_GLOBAL = 0x00000004, // export extern symbols to subsequently
|
||||||
// loaded libs.
|
// loaded libs.
|
||||||
wxDL_VERBATIM = 0x00000008, // Attempt to load the supplied library
|
wxDL_VERBATIM = 0x00000008, // attempt to load the supplied library
|
||||||
// name without appending the usual dll
|
// name without appending the usual dll
|
||||||
// filename extension.
|
// filename extension.
|
||||||
|
|
||||||
wxDL_NOSHARE = 0x00000010, // load new DLL, don't reuse already loaded
|
wxDL_NOSHARE = 0x00000010, // load new DLL, don't reuse already loaded
|
||||||
|
// (only for wxPluginManager)
|
||||||
|
|
||||||
// FIXME: why? (VZ)
|
wxDL_DEFAULT = wxDL_NOW // default flags correspond to Win32
|
||||||
#ifdef __osf__
|
|
||||||
wxDL_DEFAULT = wxDL_LAZY
|
|
||||||
#else
|
|
||||||
wxDL_DEFAULT = wxDL_LAZY | wxDL_GLOBAL
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum wxDynamicLibraryCategory
|
enum wxDynamicLibraryCategory
|
||||||
|
Reference in New Issue
Block a user