Suppress error messages when checking for Direct2D availability.
Use wxDL_QUIET flag when loading Direct2D DLLs as we're prepared to handle their absence and don't need to show error messages if they're not available. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9ecf317092
commit
7dec99c0a8
@ -128,8 +128,8 @@ public:
|
||||
private:
|
||||
static bool LoadLibraries()
|
||||
{
|
||||
m_dllDirect2d.Load(wxT("d2d1.dll"), wxDL_VERBATIM);
|
||||
m_dllDirectWrite.Load(wxT("dwrite.dll"), wxDL_VERBATIM);
|
||||
m_dllDirect2d.Load(wxT("d2d1.dll"), wxDL_VERBATIM | wxDL_QUIET);
|
||||
m_dllDirectWrite.Load(wxT("dwrite.dll"), wxDL_VERBATIM | wxDL_QUIET);
|
||||
|
||||
bool hasDirect2dSupport = m_dllDirect2d.IsLoaded() && m_dllDirectWrite.IsLoaded();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user