]> git.saurik.com Git - wxWidgets.git/commit - src/stc/PlatWX.cpp
No changes, just simplify the code using wx2stc() a little.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 May 2012 21:37:23 +0000 (21:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 May 2012 21:37:23 +0000 (21:37 +0000)
commit2ed48ef81e612403f8af51374e1e705989a60e0f
tree7d73dbeb13b86a4c37be8c48c71f462a32711d39
parentd7b468788e860e7e39bb55bb921f757207b6f9fe
No changes, just simplify the code using wx2stc() a little.

Assign wx2stc() return value to a suitably const variable instead of using
ugly casts to get rid of constness.

Also use wxCharBuffer/char* explicitly inside explicit wxUSE_UNICODE checks,
using wxWX2MBbuf here doesn't gain us anything and just confuses the reader of
this code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/stc/private.h
src/stc/PlatWX.cpp
src/stc/stc.cpp