Add wxAutomationInstance_SilentIfNone flag for wxMSW OLE code.
This flag allows to suppress the error message in case there are no currently running instances of this object and can be useful if the caller doesn't know in advance whether it's available or not. Closes #12734. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -178,7 +178,9 @@ Changes in behaviour not resulting in compilation errors, please read this!
|
||||
- wxMSW-specific wxAutomationObject::GetInstance() method now creates a new
|
||||
instance if needed instead of failing if the application providing the
|
||||
requested ProgID is not running. Pass wxAutomationInstance_UseExistingOnly
|
||||
flag to it to revert to the old behaviour.
|
||||
flag to it to revert to the old behaviour. It is also possible to use the
|
||||
wxAutomationInstance_SilentIfNone flag to prevent the error message if no
|
||||
currently running instances of this object are available.
|
||||
|
||||
|
||||
Changes in behaviour which may result in compilation errors
|
||||
|
Reference in New Issue
Block a user