(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:
Vadim Zeitlin
2003-08-04 11:18:02 +00:00
parent 799b5ec965
commit 0a3d26b81f
6 changed files with 15 additions and 14 deletions

View File

@@ -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"));