Window identifier. The value wxID_ANY indicates a default value.
@param value
Initial selection string. An empty string indicates no selection.
+ @param pos
+ Initial position.
+ @param size
+ Initial size.
@param n
Number of strings with which to initialise the control.
@param choices
An array of strings with which to initialise the control.
+ @param style
+ The window style, see wxCB_* flags.
+ @param validator
+ Validator which can be used for additional data checks.
+ @param name
+ Control name.
@see Create(), wxValidator
*/
Window identifier. The value wxID_ANY indicates a default value.
@param value
Initial selection string. An empty string indicates no selection.
+ @param pos
+ Initial position.
+ @param size
+ Initial size.
@param choices
An wxArrayString with which to initialise the control.
+ @param style
+ The window style, see wxCB_* flags.
+ @param validator
+ Validator which can be used for additional data checks.
+ @param name
+ Control name.
@see Create(), wxValidator
*/
/**
Draws a spline between all given control points, using the current pen.
- The programmer is responsible for deleting the list of points. The
- spline is drawn using a series of lines, using an algorithm taken from
+ The programmer is responsible for deleting the list of points.
+ The spline is drawn using a series of lines, using an algorithm taken from
the X drawing program "XFIG".
*/
void DrawSpline(wxList* points);
+
/**
- @param string
- The text string to measure.
Draws a three-point spline using the current pen.
*/
void DrawSpline(wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2,
@see SetTextBackground()
*/
wxColour GetTextBackground() const;
- const wxColour GetTextBackground() const;
+ const wxColour& GetTextBackground() const;
//@}
/**
@param externalLeading
Any extra vertical space added to the font by the font designer
(usually is zero).
-
- The optional parameter @a font specifies an alternative to the
- currently selected font: but note that this does not yet work under
- Windows, so you need to set a font for the device context first.
+ @param font
+ Specifies an alternative to the currently selected font: but note
+ that this does not yet work under Windows, so you need to set a
+ font for the device context first.
@see wxFont, SetFont()
*/
@param style
The window style, see wxFLP_* flags.
@param validator
- Validator which can be used for additional date checks.
+ Validator which can be used for additional data checks.
@param name
Control name.
Parent window.
@param message
Message to show on the dialog.
+ @param caption
+ The caption of the the dialog.
@param defaultValue
The default value, which may be the empty string.
@param style
If wxDefaultSize is specified then a default size is chosen.
@param style
Window style. See wxToggleButton.
- @param validator
+ @param val
Window validator.
@param name
Window name.
Identifier for this button.
@param label
Text to be displayed on the screen area dedicated to this hardware
- button.
+ button.
@param subMenu
The menu to be opened after pressing this hardware button.
size increments. If a pair of values is not set (or set to -1), no
constraints will be used.
+ @param minW
+ The minimum width.
+ @param minH
+ The minimum height.
+ @param maxW
+ The maximum width.
+ @param maxH
+ The maximum height.
@param incW
Specifies the increment for sizing the width (GTK/Motif/Xt only).
@param incH
wxWindow::SetSize().
*/
- virtual void SetSizeHints(int minW, int minH, int maxW = -1,
- int maxH = -1,
- int incW = -1,
- int incH = -1);
+ virtual void SetSizeHints(int minW, int minH,
+ int maxW = -1, int maxH = -1,
+ int incW = -1, int incH = -1);
/**
Allows specification of minimum and maximum window sizes, and window
size increments. If a pair of values is not set (or set to -1), no
constraints will be used.
+ @param minSize
+ The minimum size of the window.
+ @param maxSize
+ The maximum size of the window.
@param incSize
Increment size (only taken into account under X11-based ports such
as wxGTK/wxMotif/wxX11).
decorations are used by default and so it may make sense to call this
method with default argument if the application can't use custom
decorations at all for some reason.
-
+
@see UseNativeDecorations()
*/
void UseNativeDecorationsByDefault(bool native = true);
@param command
The command to execute and any parameters to pass to it as a single
string.
+ @param output
+ The string array where the stdout of the executed process is saved.
@param flags
Must include either wxEXEC_ASYNC or wxEXEC_SYNC and can also include
wxEXEC_NOHIDE, wxEXEC_MAKE_GROUP_LEADER (in either case) or
@header{wx/utils.h}
*/
-long wxExecute(const wxString& command, wxArrayString& output,
- int flags = 0);
+long wxExecute(const wxString& command, wxArrayString& output, int flags = 0);
/**
This is an overloaded version of wxExecute(const wxString&,int,wxProcess*),
@param command
The command to execute and any parameters to pass to it as a single
string.
+ @param output
+ The string array where the stdout of the executed process is saved.
+ @param errors
+ The string array where the stderr of the executed process is saved.
@param flags
Must include either wxEXEC_ASYNC or wxEXEC_SYNC and can also include
wxEXEC_NOHIDE, wxEXEC_MAKE_GROUP_LEADER (in either case) or
Disables all other windows in the application so that
the user can only interact with this window.
- @param flag
+ @param modal
If @true, this call disables all other windows in the application so that
the user can only interact with this window. If @false, the effect is
reversed.
Required x position.
@param y
Required y position.
+ @param flags
+ See SetSize() for more info about this parameter.
@remarks Implementations of SetSize can also implicitly implement the
Move() function, which is defined in the base wxWindow class as the call:
@see SetSize()
*/
- void Move(int x, int y, int flags = 0);
+ void Move(int x, int y, int flags = wxSIZE_USE_EXISTING);
/**
Moves the window to the given position.
@param pt
wxPoint object representing the position.
+ @param flags
+ See SetSize() for more info about this parameter.
@remarks Implementations of SetSize() can also implicitly implement the
Move() function, which is defined in the base wxWindow class as the call:
@see SetSize()
*/
- void Move(const wxPoint& pt, int flags = 0);
+ void Move(const wxPoint& pt, int flags = wxSIZE_USE_EXISTING);
/**
Moves this window in the tab navigation order after the specified @e win.
const wxRect* rect = NULL);
/**
- This function sends a dummy @ref overview_wxsizeevent "size event" to
+ This function sends a dummy @ref wxSizeEvent "size event" to
the window allowing it to re-layout its children positions.
It is sometimes useful to call this function after adding or deleting a
@return @true if @a precedingNode has been found and the @a child
node has been inserted.
+ @param child
+ The child to insert.
@param precedingNode
The node to insert @a child after. As a special case, this can be
@NULL if this node has no children yet -- in that case, @a child