Compilation fixes for wxMSW in wxUSE_STL=1 build.

Add explicit conversions from wxString to wchar_t* as they don't happen
implicitly when wxUSE_STL=1.

Closes #13715.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-12-02 12:04:46 +00:00
parent 7daecf9e6a
commit c9a828e77f
2 changed files with 7 additions and 3 deletions

View File

@@ -899,7 +899,7 @@ wxGDIPlusFontData::Init(const wxString& name,
const wxColour& col,
Unit fontUnit)
{
m_font = new Font(name, size, style, fontUnit);
m_font = new Font(name.wc_str(), size, style, fontUnit);
m_textBrush = new SolidBrush(wxColourToColor(col));
}