X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/524c47aa3adf2af11a3069fd5da035a604f08f66..98978a10b79e95dca76ac6da8192a88023a7a36f:/src/osx/glcanvas_osx.cpp?ds=sidebyside diff --git a/src/osx/glcanvas_osx.cpp b/src/osx/glcanvas_osx.cpp index 5811ff545d..5d2c0cd9ed 100644 --- a/src/osx/glcanvas_osx.cpp +++ b/src/osx/glcanvas_osx.cpp @@ -60,7 +60,9 @@ wxGLContext::~wxGLContext() IMPLEMENT_CLASS(wxGLCanvas, wxWindow) BEGIN_EVENT_TABLE(wxGLCanvas, wxWindow) +#if wxOSX_USE_CARBON EVT_SIZE(wxGLCanvas::OnSize) +#endif END_EVENT_TABLE() wxGLCanvas::wxGLCanvas(wxWindow *parent, @@ -165,7 +167,7 @@ bool wxGLCanvasBase::IsExtensionSupported(const char *extension) WXGLDestroyPixelFormat(fmt); WXGLDestroyContext(ctx); - return IsExtensionInList(extensions, extension); + return IsExtensionInList(extensions.ToAscii(), extension); } // ----------------------------------------------------------------------------