]> git.saurik.com Git - wxWidgets.git/commitdiff
Initialize wxCSConv immediately instead of deferring it.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 11 Nov 2010 12:09:22 +0000 (12:09 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 11 Nov 2010 12:09:22 +0000 (12:09 +0000)
Deferred initialization code was not MT-safe and just wasn't that useful
anyhow because it is rare to create a wxCSConv object and not use it
afterwards.

Remove the deferred initialization logic and create the real conversion used
by wxCSConv immediately in its ctor.

Also improve the comments by clearly explaining the possible values of
wxCSConv::m_name and m_encoding.

Closes #12630.

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


No differences found