From 68ebe5a07fea742332719330f7d601b1f3cb9b26 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 16 Mar 2011 06:57:03 +0000 Subject: [PATCH] making conversion explicit silences deprecation warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/cocoa/window.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/cocoa/window.mm b/src/osx/cocoa/window.mm index 8bbb6b6226..23c3cd460d 100644 --- a/src/osx/cocoa/window.mm +++ b/src/osx/cocoa/window.mm @@ -1266,7 +1266,7 @@ void wxWidgetCocoaImpl::controlTextDidChange() #else #define wxOSX_CLASS_ADD_METHOD( c, s, i, t ) \ - { s, t, i }, + { s, (char*) t, i }, #endif