X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a39a9da98ff3fa7e0b19806dd553e516f75aaa6..107b52ed174279e09b0bb79fe474ae90dcfdb206:/src/common/dynlib.cpp diff --git a/src/common/dynlib.cpp b/src/common/dynlib.cpp index 11808003ab..69d5bc700e 100644 --- a/src/common/dynlib.cpp +++ b/src/common/dynlib.cpp @@ -44,10 +44,6 @@ #include "wx/arrimpl.cpp" -#if defined(__WXMAC__) - #include "wx/mac/private.h" -#endif - WX_DEFINE_USER_EXPORTED_OBJARRAY(wxDynamicLibraryDetailsArray) // ============================================================================ @@ -101,7 +97,7 @@ bool wxDynamicLibrary::Load(const wxString& libnameOrig, int flags) m_handle = RawLoad(libname, flags); #endif - if ( m_handle == 0 ) + if ( m_handle == 0 && !(flags & wxDL_QUIET) ) { #ifdef wxHAVE_DYNLIB_ERROR Error();