X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01a33e96707668beb5612d69d508d8556a2285a7..cf25a599cd5ec86b3e054efb799dfbafe26a0d50:/src/osx/glcanvas_osx.cpp?ds=inline 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); } // ----------------------------------------------------------------------------