Export IsX11/IsWayland symbols needed by wxMediaCtrl library

This commit is contained in:
Paul Cornett
2022-02-10 11:16:36 -08:00
parent 94868c6f41
commit 2356dda034
2 changed files with 4 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
#ifdef __WXGTK3__ #ifdef __WXGTK3__
namespace wxGTKImpl namespace wxGTKImpl
{ {
bool IsWayland(void* instance); WXDLLIMPEXP_CORE bool IsWayland(void* instance);
bool IsX11(void* instance); WXDLLIMPEXP_CORE bool IsX11(void* instance);
} }
#endif #endif

View File

@@ -405,6 +405,7 @@ static bool IsBackend(void* instance, const char* string)
return strncmp(string, name, strlen(string)) == 0; return strncmp(string, name, strlen(string)) == 0;
} }
WXDLLIMPEXP_CORE
bool wxGTKImpl::IsWayland(void* instance) bool wxGTKImpl::IsWayland(void* instance)
{ {
static wxByte is = 2; static wxByte is = 2;
@@ -413,6 +414,7 @@ bool wxGTKImpl::IsWayland(void* instance)
return bool(is); return bool(is);
} }
WXDLLIMPEXP_CORE
bool wxGTKImpl::IsX11(void* instance) bool wxGTKImpl::IsX11(void* instance)
{ {
static wxByte is = 2; static wxByte is = 2;