+// Flags used with wxAutomationObject::GetInstance()
+enum wxAutomationInstanceFlags
+{
+ // Only use the existing instance, never create a new one.
+ wxAutomationInstance_UseExistingOnly = 0,
+
+ // Create a new instance if there are no existing ones.
+ wxAutomationInstance_CreateIfNeeded = 1,
+
+ // Do not log errors if we failed to get the existing instance because none
+ // is available.
+ wxAutomationInstance_SilentIfNone = 2
+};
+