Applied patch [ 1185150 ] Socket sample: writing to read-only file fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -585,7 +585,7 @@ void MyFrame::OnTestURL(wxCommandEvent& WXUNUSED(event))
|
|||||||
wxYield();
|
wxYield();
|
||||||
|
|
||||||
// Get the data
|
// Get the data
|
||||||
wxFile fileTest(wxT("test.url"));
|
wxFile fileTest(wxT("test.url"), wxFile::write);
|
||||||
wxFileOutputStream sout(fileTest);
|
wxFileOutputStream sout(fileTest);
|
||||||
if (!sout.Ok())
|
if (!sout.Ok())
|
||||||
{
|
{
|
||||||
|
@@ -1,8 +0,0 @@
|
|||||||
NAME Client
|
|
||||||
DESCRIPTION 'Client'
|
|
||||||
EXETYPE WINDOWS
|
|
||||||
STUB 'WINSTUB.EXE'
|
|
||||||
CODE PRELOAD MOVEABLE DISCARDABLE
|
|
||||||
DATA PRELOAD MOVEABLE MULTIPLE
|
|
||||||
HEAPSIZE 1024
|
|
||||||
STACKSIZE 8192
|
|
@@ -1,8 +0,0 @@
|
|||||||
NAME Server
|
|
||||||
DESCRIPTION 'Server'
|
|
||||||
EXETYPE WINDOWS
|
|
||||||
STUB 'WINSTUB.EXE'
|
|
||||||
CODE PRELOAD MOVEABLE DISCARDABLE
|
|
||||||
DATA PRELOAD MOVEABLE MULTIPLE
|
|
||||||
HEAPSIZE 4096
|
|
||||||
STACKSIZE 8192
|
|
Reference in New Issue
Block a user