]> git.saurik.com Git - wxWidgets.git/commit
define wxStrchr(non-const char-or-wchar_t*) as a template to ensure that second param...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Apr 2009 14:12:32 +0000 (14:12 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Apr 2009 14:12:32 +0000 (14:12 +0000)
commite9b64856454fc101f4dd0153fda106c87a4264b1
treedc196ab807a9f1281f9ec103c33400d60aef2874
parent1b5f83357d8a50f58eb49fab9a4667575f7b2ffb
define wxStrchr(non-const char-or-wchar_t*) as a template to ensure that second parameter of any type that can be used with const version can be used with this one too; this is shorter than listing them all explicitly and without this Borland refuses to compile wxStrchr(char *, wxUniChar) (see #10736)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/wxcrt.h