Fix wxHTTP::SetPostBuffer() compilation in ANSI build.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 31 Jan 2012 13:09:11 +0000 (13:09 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 31 Jan 2012 13:09:11 +0000 (13:09 +0000)
commitc84ef5b9f71ea2a62daa6d70840a8d654fc0103d
tree1f843ffcb36bd239c7819b9d74a49760d22d44cc
parent560689094552afb5326d50a2c803d14d26f12ea6
Fix wxHTTP::SetPostBuffer() compilation in ANSI build.

wxString::mb_str() returns a raw pointer and not wxScopedCharBuffer when
wxUSE_UNICODE==0 so fix the code to do it differently in this case.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/http.cpp