Compile fix for Unicode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -571,7 +571,7 @@ void MyFrame::OnTestURL(wxCommandEvent& WXUNUSED(event))
|
|||||||
wxYield();
|
wxYield();
|
||||||
|
|
||||||
// Get the data
|
// Get the data
|
||||||
wxFileOutputStream sout(wxString("test.url"));
|
wxFileOutputStream sout( wxT("test.url") );
|
||||||
if (!sout.Ok())
|
if (!sout.Ok())
|
||||||
{
|
{
|
||||||
m_text->AppendText(_("Error: couldn't open file for output\n"));
|
m_text->AppendText(_("Error: couldn't open file for output\n"));
|
||||||
|
Reference in New Issue
Block a user