removed @NULL,@true,@false tags from the function prototypes; fixed * and & displacing in the prototypes; changed @param as discussed on wx-dev; use @see instead of @sa; better indentation for @returns,@remarks,@see paragraphs; other misc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -26,9 +26,9 @@ class wxWindowDisabler
|
||||
public:
|
||||
/**
|
||||
Disables all top level windows of the applications with the exception of
|
||||
@e winToSkip if it is not @NULL.
|
||||
@a winToSkip if it is not @NULL.
|
||||
*/
|
||||
wxWindowDisabler(wxWindow * winToSkip = @NULL);
|
||||
wxWindowDisabler(wxWindow* winToSkip = NULL);
|
||||
|
||||
/**
|
||||
Reenables back the windows disabled by the constructor.
|
||||
@@ -95,26 +95,23 @@ wxPowerType wxGetPowerType();
|
||||
This function returns the "user id" also known as "login name" under Unix i.e.
|
||||
something like "jsmith". It uniquely identifies the current user (on this
|
||||
system).
|
||||
|
||||
Under Windows or NT, this function first looks in the environment
|
||||
variables USER and LOGNAME; if neither of these is found, the entry @b UserId
|
||||
in the @b wxWidgets section of the WIN.INI file is tried.
|
||||
|
||||
The first variant of this function returns the login name if successful or an
|
||||
empty string otherwise. The second (deprecated) function returns @true
|
||||
if successful, @false otherwise.
|
||||
|
||||
@sa wxGetUserName
|
||||
@see wxGetUserName
|
||||
*/
|
||||
wxString wxGetUserId();
|
||||
bool wxGetUserId(char * buf, int sz);
|
||||
bool wxGetUserId(char* buf, int sz);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@b NB: This function is now obsolete, please use
|
||||
wxLogFatalError instead.
|
||||
|
||||
Displays @e msg and exits. This writes to standard error under Unix,
|
||||
Displays @a msg and exits. This writes to standard error under Unix,
|
||||
and pops up a message box under Windows. Used for fatal internal
|
||||
wxWidgets errors. See also wxError.
|
||||
*/
|
||||
@@ -133,24 +130,21 @@ wxBatteryState wxGetBatteryState();
|
||||
/**
|
||||
@b NB: This function is obsolete, please use
|
||||
wxWindow::FindWindowByName instead.
|
||||
|
||||
Find a window by its name (as given in a window constructor or @b Create
|
||||
function call).
|
||||
If @e parent is @NULL, the search will start from all top-level
|
||||
If @a parent is @NULL, the search will start from all top-level
|
||||
frames and dialog boxes; if non-@NULL, the search will be limited to the given
|
||||
window hierarchy.
|
||||
The search is recursive in both cases.
|
||||
|
||||
If no such named window is found, @b wxFindWindowByLabel is called.
|
||||
*/
|
||||
wxWindow * wxFindWindowByName(const wxString& name,
|
||||
wxWindow * parent=@NULL);
|
||||
wxWindow* wxFindWindowByName(const wxString& name,
|
||||
wxWindow* parent = NULL);
|
||||
|
||||
/**
|
||||
Changes the cursor back to the original cursor, for all windows in the
|
||||
application.
|
||||
Use with wxBeginBusyCursor.
|
||||
|
||||
See also wxIsBusy, wxBusyCursor.
|
||||
*/
|
||||
void wxEndBusyCursor();
|
||||
@@ -160,6 +154,7 @@ void wxEndBusyCursor();
|
||||
ids defined by the user code, use @c wxID_ANY to assign ids which are
|
||||
guaranteed to not conflict with the user-defined ids for the controls and menu
|
||||
items you create instead of using this function.
|
||||
|
||||
Generates an integer identifier unique to this run of the program.
|
||||
*/
|
||||
long wxNewId();
|
||||
@@ -173,14 +168,11 @@ void wxRegisterId(long id);
|
||||
/**
|
||||
@b NB: This function is now obsolete, replaced by Log
|
||||
functions and wxLogDebug in particular.
|
||||
|
||||
Display a debugging message; under Windows, this will appear on the
|
||||
debugger command window, and under Unix, it will be written to standard
|
||||
error.
|
||||
|
||||
The syntax is identical to @b printf: pass a format string and a
|
||||
variable list of arguments.
|
||||
|
||||
@b Tip: under Windows, if your application crashes before the
|
||||
message appears in the debugging window, put a wxYield call after
|
||||
each wxDebugMsg call. wxDebugMsg seems to be broken under WIN32s
|
||||
@@ -191,11 +183,9 @@ void wxDebugMsg(const wxString& fmt, ... );
|
||||
|
||||
/**
|
||||
For normal keys, returns @true if the specified key is currently down.
|
||||
|
||||
For togglable keys (Caps Lock, Num Lock and Scroll Lock), returns
|
||||
@true if the key is toggled such that its LED indicator is lit. There is
|
||||
currently no way to test whether togglable keys are up or down.
|
||||
|
||||
Even though there are virtual key codes defined for mouse buttons, they
|
||||
cannot be used with this function currently.
|
||||
*/
|
||||
@@ -206,14 +196,14 @@ bool wxGetKeyState(wxKeyCode key);
|
||||
user-readable form. For example, this function may return strings like
|
||||
@c Windows NT Version 4.0 or @c Linux 2.2.2 i386.
|
||||
|
||||
@sa ::wxGetOsVersion
|
||||
@see ::wxGetOsVersion
|
||||
*/
|
||||
wxString wxGetOsDescription();
|
||||
|
||||
/**
|
||||
Return the (current) user's home directory.
|
||||
|
||||
@sa wxGetUserHome, wxStandardPaths
|
||||
@see wxGetUserHome, wxStandardPaths
|
||||
*/
|
||||
wxString wxGetHomeDir();
|
||||
|
||||
@@ -238,33 +228,30 @@ void wxMicroSleep(unsigned long microseconds);
|
||||
underlying GUI toolkit. This is mainly used for diagnostic purposes and can be
|
||||
invoked by Ctrl-Alt-middle clicking on any wxWindow which doesn't otherwise
|
||||
handle this event.
|
||||
|
||||
This function is new since wxWidgets version 2.9.0
|
||||
*/
|
||||
void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
void wxInfoMessageBox(wxWindow ( parent = NULL);
|
||||
|
||||
/**
|
||||
Find a menu item identifier associated with the given frame's menu bar.
|
||||
*/
|
||||
int wxFindMenuItemId(wxFrame * frame, const wxString& menuString,
|
||||
int wxFindMenuItemId(wxFrame* frame, const wxString& menuString,
|
||||
const wxString& itemString);
|
||||
|
||||
/**
|
||||
This function enables or disables all top level windows. It is used by
|
||||
::wxSafeYield.
|
||||
*/
|
||||
void wxEnableTopLevelWindows(bool enable = @true);
|
||||
void wxEnableTopLevelWindows(bool enable = true);
|
||||
|
||||
/**
|
||||
Strips any menu codes from @e str and returns the result.
|
||||
|
||||
Strips any menu codes from @a str and returns the result.
|
||||
By default, the functions strips both the mnemonics character (@c '')
|
||||
which is used to indicate a keyboard shortkey, and the accelerators, which are
|
||||
used only in the menu items and are separated from the main text by the
|
||||
@c \t (TAB) character. By using @e flags of
|
||||
@c \t (TAB) character. By using @a flags of
|
||||
@c wxStrip_Mnemonics or @c wxStrip_Accel to strip only the former
|
||||
or the latter part, respectively.
|
||||
|
||||
Notice that in most cases
|
||||
wxMenuItem::GetLabelFromText or
|
||||
wxControl::GetLabelText can be used instead.
|
||||
@@ -275,8 +262,7 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
/**
|
||||
@b NB: This function is now obsolete, please use wxLogError
|
||||
instead.
|
||||
|
||||
Displays @e msg and continues. This writes to standard error under
|
||||
Displays @a msg and continues. This writes to standard error under
|
||||
Unix, and pops up a message box under Windows. Used for internal
|
||||
wxWidgets errors. See also wxFatalError.
|
||||
*/
|
||||
@@ -284,15 +270,13 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
const wxString& title = "wxWidgets Internal Error");
|
||||
|
||||
/**
|
||||
Open the @e url in user's default browser. If @e flags parameter contains
|
||||
Open the @a url in user's default browser. If @a flags parameter contains
|
||||
@c wxBROWSER_NEW_WINDOW flag, a new window is opened for the URL
|
||||
(currently this is only supported under Windows). The @e url may also be a
|
||||
(currently this is only supported under Windows). The @a url may also be a
|
||||
local file path (with or without @c file:// prefix), if it doesn't
|
||||
correspond to an existing file and the URL has no scheme @c http:// is
|
||||
prepended to it by default.
|
||||
|
||||
Returns @true if the application was successfully launched.
|
||||
|
||||
Note that for some configurations of the running user, the application which
|
||||
is launched to open the given URL may be URL-dependent (e.g. a browser may be
|
||||
used for
|
||||
@@ -303,25 +287,24 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
/**
|
||||
Executes a command in an interactive shell window. If no command is
|
||||
specified, then just the shell is spawned.
|
||||
|
||||
See also wxExecute, @ref overview_sampleexec "Exec sample".
|
||||
*/
|
||||
bool wxShell(const wxString& command = @NULL);
|
||||
bool wxShell(const wxString& command = NULL);
|
||||
|
||||
/**
|
||||
Gets the version and the operating system ID for currently running OS.
|
||||
See wxPlatformInfo for more details about wxOperatingSystemId.
|
||||
|
||||
@sa ::wxGetOsDescription, wxPlatformInfo
|
||||
@see ::wxGetOsDescription, wxPlatformInfo
|
||||
*/
|
||||
wxOperatingSystemId wxGetOsVersion(int * major = @NULL,
|
||||
int * minor = @NULL);
|
||||
wxOperatingSystemId wxGetOsVersion(int* major = NULL,
|
||||
int* minor = NULL);
|
||||
|
||||
/**
|
||||
Returns the FQDN (fully qualified domain host name) or an empty string on
|
||||
error.
|
||||
|
||||
@sa wxGetHostName
|
||||
@see wxGetHostName
|
||||
*/
|
||||
wxString wxGetFullHostName();
|
||||
|
||||
@@ -330,45 +313,41 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
Use wxEndBusyCursor to revert the cursor back
|
||||
to its previous state. These two calls can be nested, and a counter
|
||||
ensures that only the outer calls take effect.
|
||||
|
||||
See also wxIsBusy, wxBusyCursor.
|
||||
*/
|
||||
void wxBeginBusyCursor(wxCursor * cursor = wxHOURGLASS_CURSOR);
|
||||
void wxBeginBusyCursor(wxCursor* cursor = wxHOURGLASS_CURSOR);
|
||||
|
||||
/**
|
||||
Tells the system to delete the specified object when
|
||||
all other events have been processed. In some environments, it is
|
||||
necessary to use this instead of deleting a frame directly with the
|
||||
delete operator, because some GUIs will still send events to a deleted window.
|
||||
|
||||
Now obsolete: use wxWindow::Close instead.
|
||||
*/
|
||||
void wxPostDelete(wxObject * object);
|
||||
void wxPostDelete(wxObject* object);
|
||||
|
||||
/**
|
||||
@b NB: This function is obsolete, please use
|
||||
wxWindow::FindWindowByLabel instead.
|
||||
|
||||
Find a window by its label. Depending on the type of window, the label may be a
|
||||
window title
|
||||
or panel item label. If @e parent is @NULL, the search will start from all
|
||||
or panel item label. If @a parent is @NULL, the search will start from all
|
||||
top-level
|
||||
frames and dialog boxes; if non-@NULL, the search will be limited to the given
|
||||
window hierarchy.
|
||||
The search is recursive in both cases.
|
||||
*/
|
||||
wxWindow * wxFindWindowByLabel(const wxString& label,
|
||||
wxWindow * parent=@NULL);
|
||||
wxWindow* wxFindWindowByLabel(const wxString& label,
|
||||
wxWindow* parent = NULL);
|
||||
|
||||
/**
|
||||
This function is similar to wxYield, except that it disables the user input to
|
||||
all program windows before calling wxYield and re-enables it again
|
||||
afterwards. If @e win is not @NULL, this window will remain enabled,
|
||||
afterwards. If @a win is not @NULL, this window will remain enabled,
|
||||
allowing the implementation of some limited user interaction.
|
||||
|
||||
Returns the result of the call to ::wxYield.
|
||||
*/
|
||||
bool wxSafeYield(wxWindow* win = @NULL, bool onlyIfNeeded = @false);
|
||||
bool wxSafeYield(wxWindow* win = NULL, bool onlyIfNeeded = false);
|
||||
|
||||
/**
|
||||
Returns the mouse position in screen coordinates.
|
||||
@@ -380,18 +359,17 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
the function creates
|
||||
a new character array and copies the data into it. A pointer to this data is
|
||||
returned. If unsuccessful, @NULL is returned.
|
||||
|
||||
The resource must be defined in the @c .rc file using the following syntax:
|
||||
|
||||
@code
|
||||
myResource TEXT file.ext
|
||||
@endcode
|
||||
|
||||
where @c file.ext is a file that the resource compiler can find.
|
||||
|
||||
This function is available under Windows only.
|
||||
*/
|
||||
wxString wxLoadUserResource(const wxString& resourceName,
|
||||
const wxString& resourceType="TEXT");
|
||||
const wxString& resourceType = "TEXT");
|
||||
|
||||
/**
|
||||
Returns the amount of free memory in bytes under environments which
|
||||
@@ -402,41 +380,37 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
/**
|
||||
This is a macro defined as @c getenv() or its wide char version in Unicode
|
||||
mode.
|
||||
|
||||
Note that under Win32 it may not return correct value for the variables set
|
||||
with wxSetEnv, use wxGetEnv function
|
||||
instead.
|
||||
*/
|
||||
wxChar * wxGetEnv(const wxString& var);
|
||||
wxChar* wxGetEnv(const wxString& var);
|
||||
|
||||
//@{
|
||||
/**
|
||||
Copies the current host machine's name into the supplied buffer. Please note
|
||||
that the returned name is @e not fully qualified, i.e. it does not include
|
||||
the domain name.
|
||||
|
||||
Under Windows or NT, this function first looks in the environment
|
||||
variable SYSTEM_NAME; if this is not found, the entry @b HostName
|
||||
in the @b wxWidgets section of the WIN.INI file is tried.
|
||||
|
||||
The first variant of this function returns the hostname if successful or an
|
||||
empty string otherwise. The second (deprecated) function returns @true
|
||||
if successful, @false otherwise.
|
||||
|
||||
@sa wxGetFullHostName
|
||||
@see wxGetFullHostName
|
||||
*/
|
||||
wxString wxGetHostName();
|
||||
bool wxGetHostName(char * buf, int sz);
|
||||
bool wxGetHostName(char* buf, int sz);
|
||||
//@}
|
||||
|
||||
/**
|
||||
Returns the current value of the environment variable @e var in @e value.
|
||||
@e value may be @NULL if you just want to know if the variable exists
|
||||
Returns the current value of the environment variable @a var in @e value.
|
||||
@a value may be @NULL if you just want to know if the variable exists
|
||||
and are not interested in its value.
|
||||
|
||||
Returns @true if the variable exists, @false otherwise.
|
||||
*/
|
||||
bool wxGetEnv(const wxString& var, wxString * value);
|
||||
bool wxGetEnv(const wxString& var, wxString* value);
|
||||
|
||||
/**
|
||||
Under X only, returns the current display name. See also wxSetDisplayName.
|
||||
@@ -445,17 +419,15 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
|
||||
/**
|
||||
Ring the system bell.
|
||||
|
||||
Note that this function is categorized as a GUI one and so is not thread-safe.
|
||||
*/
|
||||
void wxBell();
|
||||
|
||||
/**
|
||||
Returns the home directory for the given user. If the @e user is empty
|
||||
Returns the home directory for the given user. If the @a user is empty
|
||||
(default value), this function behaves like
|
||||
wxGetHomeDir i.e. returns the current user home
|
||||
directory.
|
||||
|
||||
If the home directory couldn't be determined, an empty string is returned.
|
||||
*/
|
||||
wxString wxGetUserHome(const wxString& user = "");
|
||||
@@ -466,21 +438,15 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
and it only takes the @c command argument,
|
||||
and returns a 3-element list @c ( status, output, errors ), where
|
||||
@c output and @c errors are array references.
|
||||
|
||||
Executes another program in Unix or Windows.
|
||||
|
||||
The first form takes a command string, such as @c "emacs file.txt".
|
||||
|
||||
The second form takes an array of values: a command, any number of
|
||||
arguments, terminated by @NULL.
|
||||
|
||||
The semantics of the third and fourth versions is different from the first two
|
||||
and is described in more details below.
|
||||
|
||||
If @e flags parameter contains @c wxEXEC_ASYNC flag (the default), flow
|
||||
If @a flags parameter contains @c wxEXEC_ASYNC flag (the default), flow
|
||||
of control immediately returns. If it contains @c wxEXEC_SYNC, the current
|
||||
application waits until the other program has terminated.
|
||||
|
||||
In the case of synchronous execution, the return value is the exit code of
|
||||
the process (which terminates by the moment the function returns) and will be
|
||||
-1 if the process couldn't be started and typically 0 if the process
|
||||
@@ -491,7 +457,6 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
while the child process is running. If you are sure that it is safe to not
|
||||
disable the program windows, you may pass @c wxEXEC_NODISABLE flag to
|
||||
prevent this automatic disabling from happening.
|
||||
|
||||
For asynchronous execution, however, the return value is the process id and
|
||||
zero value indicates that the command could not be executed. As an added
|
||||
complication, the return value of -1 in this case indicates that we didn't
|
||||
@@ -499,7 +464,6 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
case of using DDE under Windows for command execution). In particular, in this,
|
||||
and only this, case the calling code will not get the notification about
|
||||
process termination.
|
||||
|
||||
If callback isn't @NULL and if execution is asynchronous,
|
||||
wxProcess::OnTerminate will be called when
|
||||
the process finishes. Specifying this parameter also allows you to redirect the
|
||||
@@ -509,53 +473,46 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
flush an unnecessary console for the processes which don't create any windows
|
||||
anyhow) but a @c wxEXEC_NOHIDE flag can be used to prevent this from
|
||||
happening, i.e. with this flag the child process window will be shown normally.
|
||||
|
||||
Under Unix the flag @c wxEXEC_MAKE_GROUP_LEADER may be used to ensure
|
||||
that the new process is a group leader (this will create a new session if
|
||||
needed). Calling wxKill passing wxKILL_CHILDREN will
|
||||
kill this process as well as all of its children (except those which have
|
||||
started their own session).
|
||||
|
||||
The @c wxEXEC_NOEVENTS flag prevents processing of any events from taking
|
||||
place while the child process is running. It should be only used for very
|
||||
short-lived processes as otherwise the application windows risk becoming
|
||||
unresponsive from the users point of view. As this flag only makes sense with
|
||||
@c wxEXEC_SYNC, @c wxEXEC_BLOCK equal to the sum of both of these flags
|
||||
is provided as a convenience.
|
||||
|
||||
Finally, you may use the third overloaded version of this function to execute
|
||||
a process (always synchronously, the contents of @e flags is or'd with
|
||||
a process (always synchronously, the contents of @a flags is or'd with
|
||||
@c wxEXEC_SYNC) and capture its output in the array @e output. The
|
||||
fourth version adds the possibility to additionally capture the messages from
|
||||
standard error output in the @e errors array.
|
||||
|
||||
standard error output in the @a errors array.
|
||||
@b NB: Currently wxExecute() can only be used from the main thread, calling
|
||||
this function from another thread will result in an assert failure in debug
|
||||
build and won't work.
|
||||
|
||||
@param command
|
||||
The command to execute and any parameters to pass to it as a
|
||||
single string.
|
||||
|
||||
The command to execute and any parameters to pass to it as a
|
||||
single string.
|
||||
@param argv
|
||||
The command to execute should be the first element of this
|
||||
array, any additional ones are the command parameters and the array must be
|
||||
terminated with a @NULL pointer.
|
||||
|
||||
The command to execute should be the first element of this
|
||||
array, any additional ones are the command parameters and the array must be
|
||||
terminated with a @NULL pointer.
|
||||
@param flags
|
||||
Combination of bit masks wxEXEC_ASYNC,
|
||||
wxEXEC_SYNC and wxEXEC_NOHIDE
|
||||
|
||||
Combination of bit masks wxEXEC_ASYNC,
|
||||
wxEXEC_SYNC and wxEXEC_NOHIDE
|
||||
@param callback
|
||||
An optional pointer to wxProcess
|
||||
An optional pointer to wxProcess
|
||||
|
||||
@sa wxShell, wxProcess, @ref overview_sampleexec "Exec sample".
|
||||
@see wxShell, wxProcess, @ref overview_sampleexec "Exec sample".
|
||||
*/
|
||||
long wxExecute(const wxString& command, int sync = wxEXEC_ASYNC,
|
||||
wxProcess * callback = @NULL);
|
||||
wxPerl note: long wxExecute(char ** argv,
|
||||
wxProcess* callback = NULL);
|
||||
wxPerl note: long wxExecute(char** argv,
|
||||
int flags = wxEXEC_ASYNC,
|
||||
wxProcess * callback = @NULL);
|
||||
wxProcess* callback = NULL);
|
||||
wxPerl note: long wxExecute(const wxString& command,
|
||||
wxArrayString& output,
|
||||
int flags = 0);
|
||||
@@ -577,7 +534,6 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
since the program could be running in emulation mode or in a mixed 32/64 bit
|
||||
system
|
||||
(bi-architecture operating system).
|
||||
|
||||
Very important: this function is not 100% reliable on some systems given the
|
||||
fact
|
||||
that there isn't always a standard way to do a reliable check on the OS
|
||||
@@ -587,14 +543,14 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
|
||||
/**
|
||||
Returns the number uniquely identifying the current process in the system.
|
||||
|
||||
If an error occurs, 0 is returned.
|
||||
*/
|
||||
unsigned long wxGetProcessId();
|
||||
|
||||
/**
|
||||
Equivalent to the Unix kill function: send the given signal @e sig to the
|
||||
Equivalent to the Unix kill function: send the given signal @a sig to the
|
||||
process with PID @e pid. The valid signal values are
|
||||
|
||||
@code
|
||||
enum wxSignal
|
||||
{
|
||||
@@ -620,9 +576,9 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
@c wxSIGNONE, @c wxSIGKILL and @c wxSIGTERM have the same meaning
|
||||
under both Unix and Windows but all the other signals are equivalent to
|
||||
@c wxSIGTERM under Windows.
|
||||
|
||||
Returns 0 on success, -1 on failure. If @e rc parameter is not @NULL, it will
|
||||
Returns 0 on success, -1 on failure. If @a rc parameter is not @NULL, it will
|
||||
be filled with an element of @c wxKillError enum:
|
||||
|
||||
@code
|
||||
enum wxKillError
|
||||
{
|
||||
@@ -634,15 +590,15 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
};
|
||||
@endcode
|
||||
|
||||
The @e flags parameter can be wxKILL_NOCHILDREN (the default),
|
||||
The @a flags parameter can be wxKILL_NOCHILDREN (the default),
|
||||
or wxKILL_CHILDREN, in which case the child processes of this
|
||||
process will be killed too. Note that under Unix, for wxKILL_CHILDREN
|
||||
to work you should have created the process by passing wxEXEC_MAKE_GROUP_LEADER
|
||||
to wxExecute.
|
||||
|
||||
@sa wxProcess::Kill, wxProcess::Exists, @ref overview_sampleexec "Exec sample"
|
||||
@see wxProcess::Kill, wxProcess::Exists, @ref overview_sampleexec "Exec sample"
|
||||
*/
|
||||
int wxKill(long pid, int sig = wxSIGTERM, wxKillError rc = @NULL,
|
||||
int wxKill(long pid, int sig = wxSIGTERM, wxKillError rc = NULL,
|
||||
int flags = 0);
|
||||
|
||||
/**
|
||||
@@ -656,7 +612,6 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
/**
|
||||
Returns @true if between two wxBeginBusyCursor and
|
||||
wxEndBusyCursor calls.
|
||||
|
||||
See also wxBusyCursor.
|
||||
*/
|
||||
bool wxIsBusy();
|
||||
@@ -666,11 +621,10 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
Copies the user's email address into the supplied buffer, by
|
||||
concatenating the values returned by wxGetFullHostName
|
||||
and wxGetUserId.
|
||||
|
||||
Returns @true if successful, @false otherwise.
|
||||
*/
|
||||
wxString wxGetEmailAddress();
|
||||
bool wxGetEmailAddress(char * buf, int sz);
|
||||
bool wxGetEmailAddress(char* buf, int sz);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -679,12 +633,11 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
void wxSleep(int secs);
|
||||
|
||||
/**
|
||||
Sets the value of the environment variable @e var (adding it if necessary)
|
||||
Sets the value of the environment variable @a var (adding it if necessary)
|
||||
to @e value.
|
||||
|
||||
Returns @true on success.
|
||||
|
||||
@sa wxUnsetEnv
|
||||
@see wxUnsetEnv
|
||||
*/
|
||||
bool wxSetEnv(const wxString& var, const wxString& value);
|
||||
|
||||
@@ -693,7 +646,7 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
endian).
|
||||
The check is performed at run-time.
|
||||
|
||||
@sa @ref overview_byteordermacros "Byte order macros"
|
||||
@see @ref overview_byteordermacros "Byte order macros"
|
||||
*/
|
||||
bool wxIsPlatformLittleEndian();
|
||||
|
||||
@@ -705,7 +658,6 @@ void wxInfoMessageBox(wxWindow ( parent = @NULL);
|
||||
windows from this point on. Setting the display within an application allows
|
||||
multiple
|
||||
displays to be used.
|
||||
|
||||
See also wxGetDisplayName.
|
||||
*/
|
||||
void wxSetDisplayName(const wxString& displayName);
|
||||
|
Reference in New Issue
Block a user