]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/glcanvas_osx.cpp
compilation fix after r61232
[wxWidgets.git] / src / osx / glcanvas_osx.cpp
index 154d6ba4cefafcca42e18330edbfcc13fed8f006..5d2c0cd9ed1c2766b838c540553dbd00326cf187 100644 (file)
@@ -167,7 +167,7 @@ bool wxGLCanvasBase::IsExtensionSupported(const char *extension)
     WXGLDestroyPixelFormat(fmt);
     WXGLDestroyContext(ctx);
 
-    return IsExtensionInList(extensions, extension);
+    return IsExtensionInList(extensions.ToAscii(), extension);
 }
 
 // ----------------------------------------------------------------------------