Add wxRegEx::GetLibraryVersionInfo()

This allows to check the version of PCRE used.
This commit is contained in:
Vadim Zeitlin
2021-07-17 20:28:39 +02:00
parent dbe0950384
commit 3415325f4f
4 changed files with 34 additions and 0 deletions

View File

@@ -16,6 +16,7 @@
#if wxUSE_REGEX
#include "wx/string.h"
#include "wx/versioninfo.h"
// ----------------------------------------------------------------------------
// constants
@@ -148,6 +149,9 @@ public:
// return the extended RE corresponding to the given basic RE
static wxString ConvertFromBasic(const wxString& bre);
// return version information for the underlying regex library
static wxVersionInfo GetLibraryVersionInfo();
// dtor not virtual, don't derive from this class
~wxRegEx();