(Open Watcom but not only) compilation warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -571,7 +571,8 @@ void MyFrame::OnTestURL(wxCommandEvent& WXUNUSED(event))
|
||||
wxYield();
|
||||
|
||||
// Get the data
|
||||
wxFileOutputStream sout( wxT("test.url") );
|
||||
wxFile fileTest(wxT("test.url"));
|
||||
wxFileOutputStream sout(fileTest);
|
||||
if (!sout.Ok())
|
||||
{
|
||||
m_text->AppendText(_("Error: couldn't open file for output\n"));
|
||||
|
Reference in New Issue
Block a user