projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(dirty) fix rendering upon startup of the surface
[wxWidgets.git]
/
src
/
unix
/
utilsunx.cpp
diff --git
a/src/unix/utilsunx.cpp
b/src/unix/utilsunx.cpp
index d7036f000b5dcd08d0d94031cf7ee786bfb2dd25..1c92ba898215e8b00be623a139ffcf1a01ab2060 100644
(file)
--- a/
src/unix/utilsunx.cpp
+++ b/
src/unix/utilsunx.cpp
@@
-429,7
+429,7
@@
private:
int m_argc;
char **m_argv;
int m_argc;
char **m_argv;
- DECLARE_NO_COPY_CLASS(ArgsArray)
+ wxDECLARE_NO_COPY_CLASS(ArgsArray);
};
} // anonymous namespace
};
} // anonymous namespace
@@
-601,6
+601,8
@@
long wxExecute(char **argv, int flags, wxProcess *process)
{
// save it for WaitForChild() use
execData.pid = pid;
{
// save it for WaitForChild() use
execData.pid = pid;
+ if (execData.process)
+ execData.process->SetPid(pid); // and also in the wxProcess
// prepare for IO redirection
// prepare for IO redirection
@@
-1263,7
+1265,7
@@
public:
protected:
const int m_fd;
protected:
const int m_fd;
- DECLARE_NO_COPY_CLASS(wxReadFDIOHandler)
+ wxDECLARE_NO_COPY_CLASS(wxReadFDIOHandler);
};
// class for monitoring our end of the process detection pipe, simply sets a
};
// class for monitoring our end of the process detection pipe, simply sets a
@@
-1284,7
+1286,7
@@
public:
private:
bool m_terminated;
private:
bool m_terminated;
- DECLARE_NO_COPY_CLASS(wxEndHandler)
+ wxDECLARE_NO_COPY_CLASS(wxEndHandler);
};
#if HAS_PIPE_INPUT_STREAM
};
#if HAS_PIPE_INPUT_STREAM
@@
-1313,7
+1315,7
@@
public:
private:
wxStreamTempInputBuffer * const m_buf;
private:
wxStreamTempInputBuffer * const m_buf;
- DECLARE_NO_COPY_CLASS(wxRedirectedIOHandler)
+ wxDECLARE_NO_COPY_CLASS(wxRedirectedIOHandler);
};
#endif // HAS_PIPE_INPUT_STREAM
};
#endif // HAS_PIPE_INPUT_STREAM