Applied patch [ 1417709 ] wxFSVolume produces error messagebox
(following Vadim's suggestion to do this globally) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -300,6 +300,12 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
|
|||||||
SHInitExtraControls();
|
SHInitExtraControls();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __WXWINCE__
|
||||||
|
// Don't show a message box if a function such as SHGetFileInfo
|
||||||
|
// fails to find a device.
|
||||||
|
SetErrorMode(SEM_FAILCRITICALERRORS|SEM_NOOPENFILEERRORBOX);
|
||||||
|
#endif
|
||||||
|
|
||||||
wxOleInitialize();
|
wxOleInitialize();
|
||||||
|
|
||||||
RegisterWindowClasses();
|
RegisterWindowClasses();
|
||||||
|
Reference in New Issue
Block a user