From fe25efa327a25b76f9ad3e9285d1cbbb51209b42 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 19 Mar 2001 14:40:51 +0000 Subject: [PATCH] Small doc mod; made wxRAISED_BORDER work git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/process.tex | 6 +++--- src/msw/window.cpp | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/latex/wx/process.tex b/docs/latex/wx/process.tex index 9438d0433e..425930487f 100644 --- a/docs/latex/wx/process.tex +++ b/docs/latex/wx/process.tex @@ -1,6 +1,6 @@ \section{\class{wxProcess}}\label{wxprocess} -The objects of this class are used in conjunction with +The objects of this class are used in conjunction with the \helpref{wxExecute}{wxexecute} function. When a wxProcess object is passed to wxExecute(), its \helpref{OnTerminate()}{wxprocessonterminate} virtual method is called when the process terminates. This allows the program to be @@ -96,7 +96,7 @@ of the child process. \constfunc{wxInputStream* }{GetInputStream}{\void} -It returns a output stream corresponding to the standard output stream of the +It returns an input stream corresponding to the standard output stream of the subprocess. If it is NULL, you have not turned on the redirection. See \helpref{wxProcess::Redirect}{wxprocessredirect}. @@ -123,7 +123,7 @@ It raises a wxWindows event when it isn't overridden. \func{void}{Redirect}{\void} -It turns on the redirection, wxExecute will try to open a couple of pipes +Turns on redirection. wxExecute will try to open a couple of pipes to catch the subprocess stdio. The caught input stream is returned by GetOutputStream() as a non-seekable stream. The caught output stream is returned by GetInputStream() as a non-seekable stream. diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 56d10563ed..8ec677be5e 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -871,7 +871,8 @@ WXDWORD wxWindow::MakeExtendedStyle(long style, bool eliminateBorders) exStyle |= WS_EX_DLGMODALFRAME; #if defined(__WIN95__) if ( style & wxRAISED_BORDER ) - exStyle |= WS_EX_WINDOWEDGE; + // It seems that WS_EX_WINDOWEDGE doesn't work, but WS_EX_DLGMODALFRAME does + exStyle |= WS_EX_DLGMODALFRAME; /* WS_EX_WINDOWEDGE */; if ( style & wxSTATIC_BORDER ) exStyle |= WS_EX_STATICEDGE; #endif -- 2.47.2