X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01a33e96707668beb5612d69d508d8556a2285a7..b85b06e13d22e7fc1604ec1a49caa1227a1b3d36:/src/osx/glcanvas_osx.cpp diff --git a/src/osx/glcanvas_osx.cpp b/src/osx/glcanvas_osx.cpp index 154d6ba4ce..5d2c0cd9ed 100644 --- a/src/osx/glcanvas_osx.cpp +++ b/src/osx/glcanvas_osx.cpp @@ -167,7 +167,7 @@ bool wxGLCanvasBase::IsExtensionSupported(const char *extension) WXGLDestroyPixelFormat(fmt); WXGLDestroyContext(ctx); - return IsExtensionInList(extensions, extension); + return IsExtensionInList(extensions.ToAscii(), extension); } // ----------------------------------------------------------------------------