From: Stefan Csomor Date: Wed, 16 Mar 2011 06:57:03 +0000 (+0000) Subject: making conversion explicit silences deprecation warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/68ebe5a07fea742332719330f7d601b1f3cb9b26 making conversion explicit silences deprecation warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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