Mention that wxSecretStore ctor can block

At least under Unix it can show a dialog asking to create a new key
ring.
This commit is contained in:
Vadim Zeitlin
2020-02-10 18:27:38 +01:00
parent 5a454d373b
commit f7f90a6111

View File

@@ -203,6 +203,9 @@ public:
Returns the default secrets collection to use. Returns the default secrets collection to use.
Call IsOk() on the returned object to check if this method succeeded. Call IsOk() on the returned object to check if this method succeeded.
Note that this method may show a dialog to the user under some
platforms, so it can take an arbitrarily long time to return.
*/ */
static wxSecretStore GetDefault(); static wxSecretStore GetDefault();