*** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,7 +20,7 @@ window using \helpref{wxWindow::SetAccessible}{wxwindowsetaccessible}.
|
||||
All functions return an indication of success, failure, or not implemented
|
||||
using values of the wxAccStatus enum type.
|
||||
|
||||
If you return wxACC\_NOT\_IMPLEMENTED from any functioon, the system will try to
|
||||
If you return wxACC\_NOT\_IMPLEMENTED from any function, the system will try to
|
||||
implement the appropriate functionality. However this will not work with
|
||||
all functions.
|
||||
|
||||
@@ -52,11 +52,11 @@ may be one of the following:
|
||||
\begin{verbatim}
|
||||
typedef enum
|
||||
{
|
||||
wxACC\_FAIL, // The function failed
|
||||
wxACC\_FALSE, // The function returned false
|
||||
wxACC\_OK, // The function completed successfully
|
||||
wxACC\_NOT\_IMPLEMENTED, // The function is not implemented
|
||||
wxACC\_NOT\_SUPPORTED // The function is not supported
|
||||
wxACC_FAIL, // The function failed
|
||||
wxACC_FALSE, // The function returned false
|
||||
wxACC_OK, // The function completed successfully
|
||||
wxACC_NOT_IMPLEMENTED, // The function is not implemented
|
||||
wxACC_NOT_SUPPORTED // The function is not supported
|
||||
} wxAccStatus
|
||||
\end{verbatim}
|
||||
}
|
||||
@@ -68,14 +68,14 @@ the following:
|
||||
\begin{verbatim}
|
||||
typedef enum
|
||||
{
|
||||
wxNAVDIR\_DOWN,
|
||||
wxNAVDIR\_FIRSTCHILD,
|
||||
wxNAVDIR\_LASTCHILD,
|
||||
wxNAVDIR\_LEFT,
|
||||
wxNAVDIR\_NEXT,
|
||||
wxNAVDIR\_PREVIOUS,
|
||||
wxNAVDIR\_RIGHT,
|
||||
wxNAVDIR\_UP
|
||||
wxNAVDIR_DOWN,
|
||||
wxNAVDIR_FIRSTCHILD,
|
||||
wxNAVDIR_LASTCHILD,
|
||||
wxNAVDIR_LEFT,
|
||||
wxNAVDIR_NEXT,
|
||||
wxNAVDIR_PREVIOUS,
|
||||
wxNAVDIR_RIGHT,
|
||||
wxNAVDIR_UP
|
||||
} wxNavDir
|
||||
\end{verbatim}
|
||||
}
|
||||
@@ -86,68 +86,68 @@ by the following type:
|
||||
{\small
|
||||
\begin{verbatim}
|
||||
typedef enum {
|
||||
wxROLE\_NONE,
|
||||
wxROLE\_SYSTEM\_ALERT,
|
||||
wxROLE\_SYSTEM\_ANIMATION,
|
||||
wxROLE\_SYSTEM\_APPLICATION,
|
||||
wxROLE\_SYSTEM\_BORDER,
|
||||
wxROLE\_SYSTEM\_BUTTONDROPDOWN,
|
||||
wxROLE\_SYSTEM\_BUTTONDROPDOWNGRID,
|
||||
wxROLE\_SYSTEM\_BUTTONMENU,
|
||||
wxROLE\_SYSTEM\_CARET,
|
||||
wxROLE\_SYSTEM\_CELL,
|
||||
wxROLE\_SYSTEM\_CHARACTER,
|
||||
wxROLE\_SYSTEM\_CHART,
|
||||
wxROLE\_SYSTEM\_CHECKBUTTON,
|
||||
wxROLE\_SYSTEM\_CLIENT,
|
||||
wxROLE\_SYSTEM\_CLOCK,
|
||||
wxROLE\_SYSTEM\_COLUMN,
|
||||
wxROLE\_SYSTEM\_COLUMNHEADER,
|
||||
wxROLE\_SYSTEM\_COMBOBOX,
|
||||
wxROLE\_SYSTEM\_CURSOR,
|
||||
wxROLE\_SYSTEM\_DIAGRAM,
|
||||
wxROLE\_SYSTEM\_DIAL,
|
||||
wxROLE\_SYSTEM\_DIALOG,
|
||||
wxROLE\_SYSTEM\_DOCUMENT,
|
||||
wxROLE\_SYSTEM\_DROPLIST,
|
||||
wxROLE\_SYSTEM\_EQUATION,
|
||||
wxROLE\_SYSTEM\_GRAPHIC,
|
||||
wxROLE\_SYSTEM\_GRIP,
|
||||
wxROLE\_SYSTEM\_GROUPING,
|
||||
wxROLE\_SYSTEM\_HELPBALLOON,
|
||||
wxROLE\_SYSTEM\_HOTKEYFIELD,
|
||||
wxROLE\_SYSTEM\_INDICATOR,
|
||||
wxROLE\_SYSTEM\_LINK,
|
||||
wxROLE\_SYSTEM\_LIST,
|
||||
wxROLE\_SYSTEM\_LISTITEM,
|
||||
wxROLE\_SYSTEM\_MENUBAR,
|
||||
wxROLE\_SYSTEM\_MENUITEM,
|
||||
wxROLE\_SYSTEM\_MENUPOPUP,
|
||||
wxROLE\_SYSTEM\_OUTLINE,
|
||||
wxROLE\_SYSTEM\_OUTLINEITEM,
|
||||
wxROLE\_SYSTEM\_PAGETAB,
|
||||
wxROLE\_SYSTEM\_PAGETABLIST,
|
||||
wxROLE\_SYSTEM\_PANE,
|
||||
wxROLE\_SYSTEM\_PROGRESSBAR,
|
||||
wxROLE\_SYSTEM\_PROPERTYPAGE,
|
||||
wxROLE\_SYSTEM\_PUSHBUTTON,
|
||||
wxROLE\_SYSTEM\_RADIOBUTTON,
|
||||
wxROLE\_SYSTEM\_ROW,
|
||||
wxROLE\_SYSTEM\_ROWHEADER,
|
||||
wxROLE\_SYSTEM\_SCROLLBAR,
|
||||
wxROLE\_SYSTEM\_SEPARATOR,
|
||||
wxROLE\_SYSTEM\_SLIDER,
|
||||
wxROLE\_SYSTEM\_SOUND,
|
||||
wxROLE\_SYSTEM\_SPINBUTTON,
|
||||
wxROLE\_SYSTEM\_STATICTEXT,
|
||||
wxROLE\_SYSTEM\_STATUSBAR,
|
||||
wxROLE\_SYSTEM\_TABLE,
|
||||
wxROLE\_SYSTEM\_TEXT,
|
||||
wxROLE\_SYSTEM\_TITLEBAR,
|
||||
wxROLE\_SYSTEM\_TOOLBAR,
|
||||
wxROLE\_SYSTEM\_TOOLTIP,
|
||||
wxROLE\_SYSTEM\_WHITESPACE,
|
||||
wxROLE\_SYSTEM\_WINDOW
|
||||
wxROLE_NONE,
|
||||
wxROLE_SYSTEM_ALERT,
|
||||
wxROLE_SYSTEM_ANIMATION,
|
||||
wxROLE_SYSTEM_APPLICATION,
|
||||
wxROLE_SYSTEM_BORDER,
|
||||
wxROLE_SYSTEM_BUTTONDROPDOWN,
|
||||
wxROLE_SYSTEM_BUTTONDROPDOWNGRID,
|
||||
wxROLE_SYSTEM_BUTTONMENU,
|
||||
wxROLE_SYSTEM_CARET,
|
||||
wxROLE_SYSTEM_CELL,
|
||||
wxROLE_SYSTEM_CHARACTER,
|
||||
wxROLE_SYSTEM_CHART,
|
||||
wxROLE_SYSTEM_CHECKBUTTON,
|
||||
wxROLE_SYSTEM_CLIENT,
|
||||
wxROLE_SYSTEM_CLOCK,
|
||||
wxROLE_SYSTEM_COLUMN,
|
||||
wxROLE_SYSTEM_COLUMNHEADER,
|
||||
wxROLE_SYSTEM_COMBOBOX,
|
||||
wxROLE_SYSTEM_CURSOR,
|
||||
wxROLE_SYSTEM_DIAGRAM,
|
||||
wxROLE_SYSTEM_DIAL,
|
||||
wxROLE_SYSTEM_DIALOG,
|
||||
wxROLE_SYSTEM_DOCUMENT,
|
||||
wxROLE_SYSTEM_DROPLIST,
|
||||
wxROLE_SYSTEM_EQUATION,
|
||||
wxROLE_SYSTEM_GRAPHIC,
|
||||
wxROLE_SYSTEM_GRIP,
|
||||
wxROLE_SYSTEM_GROUPING,
|
||||
wxROLE_SYSTEM_HELPBALLOON,
|
||||
wxROLE_SYSTEM_HOTKEYFIELD,
|
||||
wxROLE_SYSTEM_INDICATOR,
|
||||
wxROLE_SYSTEM_LINK,
|
||||
wxROLE_SYSTEM_LIST,
|
||||
wxROLE_SYSTEM_LISTITEM,
|
||||
wxROLE_SYSTEM_MENUBAR,
|
||||
wxROLE_SYSTEM_MENUITEM,
|
||||
wxROLE_SYSTEM_MENUPOPUP,
|
||||
wxROLE_SYSTEM_OUTLINE,
|
||||
wxROLE_SYSTEM_OUTLINEITEM,
|
||||
wxROLE_SYSTEM_PAGETAB,
|
||||
wxROLE_SYSTEM_PAGETABLIST,
|
||||
wxROLE_SYSTEM_PANE,
|
||||
wxROLE_SYSTEM_PROGRESSBAR,
|
||||
wxROLE_SYSTEM_PROPERTYPAGE,
|
||||
wxROLE_SYSTEM_PUSHBUTTON,
|
||||
wxROLE_SYSTEM_RADIOBUTTON,
|
||||
wxROLE_SYSTEM_ROW,
|
||||
wxROLE_SYSTEM_ROWHEADER,
|
||||
wxROLE_SYSTEM_SCROLLBAR,
|
||||
wxROLE_SYSTEM_SEPARATOR,
|
||||
wxROLE_SYSTEM_SLIDER,
|
||||
wxROLE_SYSTEM_SOUND,
|
||||
wxROLE_SYSTEM_SPINBUTTON,
|
||||
wxROLE_SYSTEM_STATICTEXT,
|
||||
wxROLE_SYSTEM_STATUSBAR,
|
||||
wxROLE_SYSTEM_TABLE,
|
||||
wxROLE_SYSTEM_TEXT,
|
||||
wxROLE_SYSTEM_TITLEBAR,
|
||||
wxROLE_SYSTEM_TOOLBAR,
|
||||
wxROLE_SYSTEM_TOOLTIP,
|
||||
wxROLE_SYSTEM_WHITESPACE,
|
||||
wxROLE_SYSTEM_WINDOW
|
||||
} wxAccRole
|
||||
\end{verbatim}
|
||||
}
|
||||
@@ -157,18 +157,18 @@ Objects are represented by the following type:
|
||||
{\small
|
||||
\begin{verbatim}
|
||||
typedef enum {
|
||||
wxOBJID\_WINDOW = 0x00000000,
|
||||
wxOBJID\_SYSMENU = 0xFFFFFFFF,
|
||||
wxOBJID\_TITLEBAR = 0xFFFFFFFE,
|
||||
wxOBJID\_MENU = 0xFFFFFFFD,
|
||||
wxOBJID\_CLIENT = 0xFFFFFFFC,
|
||||
wxOBJID\_VSCROLL = 0xFFFFFFFB,
|
||||
wxOBJID\_HSCROLL = 0xFFFFFFFA,
|
||||
wxOBJID\_SIZEGRIP = 0xFFFFFFF9,
|
||||
wxOBJID\_CARET = 0xFFFFFFF8,
|
||||
wxOBJID\_CURSOR = 0xFFFFFFF7,
|
||||
wxOBJID\_ALERT = 0xFFFFFFF6,
|
||||
wxOBJID\_SOUND = 0xFFFFFFF5
|
||||
wxOBJID_WINDOW = 0x00000000,
|
||||
wxOBJID_SYSMENU = 0xFFFFFFFF,
|
||||
wxOBJID_TITLEBAR = 0xFFFFFFFE,
|
||||
wxOBJID_MENU = 0xFFFFFFFD,
|
||||
wxOBJID_CLIENT = 0xFFFFFFFC,
|
||||
wxOBJID_VSCROLL = 0xFFFFFFFB,
|
||||
wxOBJID_HSCROLL = 0xFFFFFFFA,
|
||||
wxOBJID_SIZEGRIP = 0xFFFFFFF9,
|
||||
wxOBJID_CARET = 0xFFFFFFF8,
|
||||
wxOBJID_CURSOR = 0xFFFFFFF7,
|
||||
wxOBJID_ALERT = 0xFFFFFFF6,
|
||||
wxOBJID_SOUND = 0xFFFFFFF5
|
||||
} wxAccObject
|
||||
\end{verbatim}
|
||||
}
|
||||
@@ -180,12 +180,12 @@ this type:
|
||||
\begin{verbatim}
|
||||
typedef enum
|
||||
{
|
||||
wxACC\_SEL\_NONE = 0,
|
||||
wxACC\_SEL\_TAKEFOCUS = 1,
|
||||
wxACC\_SEL\_TAKESELECTION = 2,
|
||||
wxACC\_SEL\_EXTENDSELECTION = 4,
|
||||
wxACC\_SEL\_ADDSELECTION = 8,
|
||||
wxACC\_SEL\_REMOVESELECTION = 16
|
||||
wxACC_SEL_NONE = 0,
|
||||
wxACC_SEL_TAKEFOCUS = 1,
|
||||
wxACC_SEL_TAKESELECTION = 2,
|
||||
wxACC_SEL_EXTENDSELECTION = 4,
|
||||
wxACC_SEL_ADDSELECTION = 8,
|
||||
wxACC_SEL_REMOVESELECTION = 16
|
||||
} wxAccSelectionFlags
|
||||
\end{verbatim}
|
||||
}
|
||||
@@ -194,32 +194,32 @@ States are represented by the following:
|
||||
|
||||
{\small
|
||||
\begin{verbatim}
|
||||
#define wxACC\_STATE\_SYSTEM\_ALERT\_HIGH 0x00000001
|
||||
#define wxACC\_STATE\_SYSTEM\_ALERT\_MEDIUM 0x00000002
|
||||
#define wxACC\_STATE\_SYSTEM\_ALERT\_LOW 0x00000004
|
||||
#define wxACC\_STATE\_SYSTEM\_ANIMATED 0x00000008
|
||||
#define wxACC\_STATE\_SYSTEM\_BUSY 0x00000010
|
||||
#define wxACC\_STATE\_SYSTEM\_CHECKED 0x00000020
|
||||
#define wxACC\_STATE\_SYSTEM\_COLLAPSED 0x00000040
|
||||
#define wxACC\_STATE\_SYSTEM\_DEFAULT 0x00000080
|
||||
#define wxACC\_STATE\_SYSTEM\_EXPANDED 0x00000100
|
||||
#define wxACC\_STATE\_SYSTEM\_EXTSELECTABLE 0x00000200
|
||||
#define wxACC\_STATE\_SYSTEM\_FLOATING 0x00000400
|
||||
#define wxACC\_STATE\_SYSTEM\_FOCUSABLE 0x00000800
|
||||
#define wxACC\_STATE\_SYSTEM\_FOCUSED 0x00001000
|
||||
#define wxACC\_STATE\_SYSTEM\_HOTTRACKED 0x00002000
|
||||
#define wxACC\_STATE\_SYSTEM\_INVISIBLE 0x00004000
|
||||
#define wxACC\_STATE\_SYSTEM\_MARQUEED 0x00008000
|
||||
#define wxACC\_STATE\_SYSTEM\_MIXED 0x00010000
|
||||
#define wxACC\_STATE\_SYSTEM\_MULTISELECTABLE 0x00020000
|
||||
#define wxACC\_STATE\_SYSTEM\_OFFSCREEN 0x00040000
|
||||
#define wxACC\_STATE\_SYSTEM\_PRESSED 0x00080000
|
||||
#define wxACC\_STATE\_SYSTEM\_PROTECTED 0x00100000
|
||||
#define wxACC\_STATE\_SYSTEM\_READONLY 0x00200000
|
||||
#define wxACC\_STATE\_SYSTEM\_SELECTABLE 0x00400000
|
||||
#define wxACC\_STATE\_SYSTEM\_SELECTED 0x00800000
|
||||
#define wxACC\_STATE\_SYSTEM\_SELFVOICING 0x01000000
|
||||
#define wxACC\_STATE\_SYSTEM\_UNAVAILABLE 0x02000000
|
||||
#define wxACC_STATE_SYSTEM_ALERT_HIGH 0x00000001
|
||||
#define wxACC_STATE_SYSTEM_ALERT_MEDIUM 0x00000002
|
||||
#define wxACC_STATE_SYSTEM_ALERT_LOW 0x00000004
|
||||
#define wxACC_STATE_SYSTEM_ANIMATED 0x00000008
|
||||
#define wxACC_STATE_SYSTEM_BUSY 0x00000010
|
||||
#define wxACC_STATE_SYSTEM_CHECKED 0x00000020
|
||||
#define wxACC_STATE_SYSTEM_COLLAPSED 0x00000040
|
||||
#define wxACC_STATE_SYSTEM_DEFAULT 0x00000080
|
||||
#define wxACC_STATE_SYSTEM_EXPANDED 0x00000100
|
||||
#define wxACC_STATE_SYSTEM_EXTSELECTABLE 0x00000200
|
||||
#define wxACC_STATE_SYSTEM_FLOATING 0x00000400
|
||||
#define wxACC_STATE_SYSTEM_FOCUSABLE 0x00000800
|
||||
#define wxACC_STATE_SYSTEM_FOCUSED 0x00001000
|
||||
#define wxACC_STATE_SYSTEM_HOTTRACKED 0x00002000
|
||||
#define wxACC_STATE_SYSTEM_INVISIBLE 0x00004000
|
||||
#define wxACC_STATE_SYSTEM_MARQUEED 0x00008000
|
||||
#define wxACC_STATE_SYSTEM_MIXED 0x00010000
|
||||
#define wxACC_STATE_SYSTEM_MULTISELECTABLE 0x00020000
|
||||
#define wxACC_STATE_SYSTEM_OFFSCREEN 0x00040000
|
||||
#define wxACC_STATE_SYSTEM_PRESSED 0x00080000
|
||||
#define wxACC_STATE_SYSTEM_PROTECTED 0x00100000
|
||||
#define wxACC_STATE_SYSTEM_READONLY 0x00200000
|
||||
#define wxACC_STATE_SYSTEM_SELECTABLE 0x00400000
|
||||
#define wxACC_STATE_SYSTEM_SELECTED 0x00800000
|
||||
#define wxACC_STATE_SYSTEM_SELFVOICING 0x01000000
|
||||
#define wxACC_STATE_SYSTEM_UNAVAILABLE 0x02000000
|
||||
\end{verbatim}
|
||||
}
|
||||
|
||||
@@ -228,48 +228,48 @@ as follows:
|
||||
|
||||
{\small
|
||||
\begin{verbatim}
|
||||
#define wxACC\_EVENT\_SYSTEM\_SOUND 0x0001
|
||||
#define wxACC\_EVENT\_SYSTEM\_ALERT 0x0002
|
||||
#define wxACC\_EVENT\_SYSTEM\_FOREGROUND 0x0003
|
||||
#define wxACC\_EVENT\_SYSTEM\_MENUSTART 0x0004
|
||||
#define wxACC\_EVENT\_SYSTEM\_MENUEND 0x0005
|
||||
#define wxACC\_EVENT\_SYSTEM\_MENUPOPUPSTART 0x0006
|
||||
#define wxACC\_EVENT\_SYSTEM\_MENUPOPUPEND 0x0007
|
||||
#define wxACC\_EVENT\_SYSTEM\_CAPTURESTART 0x0008
|
||||
#define wxACC\_EVENT\_SYSTEM\_CAPTUREEND 0x0009
|
||||
#define wxACC\_EVENT\_SYSTEM\_MOVESIZESTART 0x000A
|
||||
#define wxACC\_EVENT\_SYSTEM\_MOVESIZEEND 0x000B
|
||||
#define wxACC\_EVENT\_SYSTEM\_CONTEXTHELPSTART 0x000C
|
||||
#define wxACC\_EVENT\_SYSTEM\_CONTEXTHELPEND 0x000D
|
||||
#define wxACC\_EVENT\_SYSTEM\_DRAGDROPSTART 0x000E
|
||||
#define wxACC\_EVENT\_SYSTEM\_DRAGDROPEND 0x000F
|
||||
#define wxACC\_EVENT\_SYSTEM\_DIALOGSTART 0x0010
|
||||
#define wxACC\_EVENT\_SYSTEM\_DIALOGEND 0x0011
|
||||
#define wxACC\_EVENT\_SYSTEM\_SCROLLINGSTART 0x0012
|
||||
#define wxACC\_EVENT\_SYSTEM\_SCROLLINGEND 0x0013
|
||||
#define wxACC\_EVENT\_SYSTEM\_SWITCHSTART 0x0014
|
||||
#define wxACC\_EVENT\_SYSTEM\_SWITCHEND 0x0015
|
||||
#define wxACC\_EVENT\_SYSTEM\_MINIMIZESTART 0x0016
|
||||
#define wxACC\_EVENT\_SYSTEM\_MINIMIZEEND 0x0017
|
||||
#define wxACC\_EVENT\_OBJECT\_CREATE 0x8000
|
||||
#define wxACC\_EVENT\_OBJECT\_DESTROY 0x8001
|
||||
#define wxACC\_EVENT\_OBJECT\_SHOW 0x8002
|
||||
#define wxACC\_EVENT\_OBJECT\_HIDE 0x8003
|
||||
#define wxACC\_EVENT\_OBJECT\_REORDER 0x8004
|
||||
#define wxACC\_EVENT\_OBJECT\_FOCUS 0x8005
|
||||
#define wxACC\_EVENT\_OBJECT\_SELECTION 0x8006
|
||||
#define wxACC\_EVENT\_OBJECT\_SELECTIONADD 0x8007
|
||||
#define wxACC\_EVENT\_OBJECT\_SELECTIONREMOVE 0x8008
|
||||
#define wxACC\_EVENT\_OBJECT\_SELECTIONWITHIN 0x8009
|
||||
#define wxACC\_EVENT\_OBJECT\_STATECHANGE 0x800A
|
||||
#define wxACC\_EVENT\_OBJECT\_LOCATIONCHANGE 0x800B
|
||||
#define wxACC\_EVENT\_OBJECT\_NAMECHANGE 0x800C
|
||||
#define wxACC\_EVENT\_OBJECT\_DESCRIPTIONCHANGE 0x800D
|
||||
#define wxACC\_EVENT\_OBJECT\_VALUECHANGE 0x800E
|
||||
#define wxACC\_EVENT\_OBJECT\_PARENTCHANGE 0x800F
|
||||
#define wxACC\_EVENT\_OBJECT\_HELPCHANGE 0x8010
|
||||
#define wxACC\_EVENT\_OBJECT\_DEFACTIONCHANGE 0x8011
|
||||
#define wxACC\_EVENT\_OBJECT\_ACCELERATORCHANGE 0x8012
|
||||
#define wxACC_EVENT_SYSTEM_SOUND 0x0001
|
||||
#define wxACC_EVENT_SYSTEM_ALERT 0x0002
|
||||
#define wxACC_EVENT_SYSTEM_FOREGROUND 0x0003
|
||||
#define wxACC_EVENT_SYSTEM_MENUSTART 0x0004
|
||||
#define wxACC_EVENT_SYSTEM_MENUEND 0x0005
|
||||
#define wxACC_EVENT_SYSTEM_MENUPOPUPSTART 0x0006
|
||||
#define wxACC_EVENT_SYSTEM_MENUPOPUPEND 0x0007
|
||||
#define wxACC_EVENT_SYSTEM_CAPTURESTART 0x0008
|
||||
#define wxACC_EVENT_SYSTEM_CAPTUREEND 0x0009
|
||||
#define wxACC_EVENT_SYSTEM_MOVESIZESTART 0x000A
|
||||
#define wxACC_EVENT_SYSTEM_MOVESIZEEND 0x000B
|
||||
#define wxACC_EVENT_SYSTEM_CONTEXTHELPSTART 0x000C
|
||||
#define wxACC_EVENT_SYSTEM_CONTEXTHELPEND 0x000D
|
||||
#define wxACC_EVENT_SYSTEM_DRAGDROPSTART 0x000E
|
||||
#define wxACC_EVENT_SYSTEM_DRAGDROPEND 0x000F
|
||||
#define wxACC_EVENT_SYSTEM_DIALOGSTART 0x0010
|
||||
#define wxACC_EVENT_SYSTEM_DIALOGEND 0x0011
|
||||
#define wxACC_EVENT_SYSTEM_SCROLLINGSTART 0x0012
|
||||
#define wxACC_EVENT_SYSTEM_SCROLLINGEND 0x0013
|
||||
#define wxACC_EVENT_SYSTEM_SWITCHSTART 0x0014
|
||||
#define wxACC_EVENT_SYSTEM_SWITCHEND 0x0015
|
||||
#define wxACC_EVENT_SYSTEM_MINIMIZESTART 0x0016
|
||||
#define wxACC_EVENT_SYSTEM_MINIMIZEEND 0x0017
|
||||
#define wxACC_EVENT_OBJECT_CREATE 0x8000
|
||||
#define wxACC_EVENT_OBJECT_DESTROY 0x8001
|
||||
#define wxACC_EVENT_OBJECT_SHOW 0x8002
|
||||
#define wxACC_EVENT_OBJECT_HIDE 0x8003
|
||||
#define wxACC_EVENT_OBJECT_REORDER 0x8004
|
||||
#define wxACC_EVENT_OBJECT_FOCUS 0x8005
|
||||
#define wxACC_EVENT_OBJECT_SELECTION 0x8006
|
||||
#define wxACC_EVENT_OBJECT_SELECTIONADD 0x8007
|
||||
#define wxACC_EVENT_OBJECT_SELECTIONREMOVE 0x8008
|
||||
#define wxACC_EVENT_OBJECT_SELECTIONWITHIN 0x8009
|
||||
#define wxACC_EVENT_OBJECT_STATECHANGE 0x800A
|
||||
#define wxACC_EVENT_OBJECT_LOCATIONCHANGE 0x800B
|
||||
#define wxACC_EVENT_OBJECT_NAMECHANGE 0x800C
|
||||
#define wxACC_EVENT_OBJECT_DESCRIPTIONCHANGE 0x800D
|
||||
#define wxACC_EVENT_OBJECT_VALUECHANGE 0x800E
|
||||
#define wxACC_EVENT_OBJECT_PARENTCHANGE 0x800F
|
||||
#define wxACC_EVENT_OBJECT_HELPCHANGE 0x8010
|
||||
#define wxACC_EVENT_OBJECT_DEFACTIONCHANGE 0x8011
|
||||
#define wxACC_EVENT_OBJECT_ACCELERATORCHANGE 0x8012
|
||||
\end{verbatim}
|
||||
}
|
||||
|
||||
@@ -426,7 +426,7 @@ Navigates from {\it fromId} to {\it toId}/{\it toObject}.
|
||||
|
||||
\membersection{wxAccessible::NotifyEvent}\label{wxaccessiblenotifyevent}
|
||||
|
||||
\func{virtual static void}{NotifyEvent}{\param{int}{ eventType}, \param{wxWindow* }{window}, \param{wxAccObjectt }{objectType}, \param{int }{objectType}}
|
||||
\func{virtual static void}{NotifyEvent}{\param{int}{ eventType}, \param{wxWindow* }{window}, \param{wxAccObject }{objectType}, \param{int }{objectType}}
|
||||
|
||||
Allows the application to send an event when something changes in an accessible object.
|
||||
|
||||
|
@@ -633,7 +633,7 @@ elements of a wxArray (supposed to contain pointers).
|
||||
\func{void}{SetCount}{\param{size\_t }{count}, \param{T }{defval = T($0$)}}
|
||||
|
||||
This function ensures that the number of array elements is at least
|
||||
{\it count}. If the array has already {\it count} or mroe items, nothing is
|
||||
{\it count}. If the array has already {\it count} or more items, nothing is
|
||||
done. Otherwise, {\tt count - GetCount()} elements are added and initialized to
|
||||
the value {\it defval}.
|
||||
|
||||
|
@@ -132,7 +132,7 @@ See the \helpref{artprov}{sampleartprovider} sample for an example of wxArtProvi
|
||||
|
||||
Derived art provider classes must override this method to create requested
|
||||
art resource. Note that returned bitmaps are cached by wxArtProvider and it is therefore
|
||||
not neccessary to optimize CreateBitmap for speed (e.g. you may create wxBitmap objects
|
||||
not necessary to optimize CreateBitmap for speed (e.g. you may create wxBitmap objects
|
||||
from XPMs here).
|
||||
|
||||
\wxheading{Parameters}
|
||||
@@ -142,7 +142,7 @@ from XPMs here).
|
||||
\docparam{client}{wxArtClient identifier of the client (i.e. who is asking for the bitmap).
|
||||
This only servers as a hint.}
|
||||
|
||||
\docparam{size}{Prefered size of the bitmap. The function may return a bitmap of different
|
||||
\docparam{size}{Preferred size of the bitmap. The function may return a bitmap of different
|
||||
dimensions, it will be automatically rescaled to meet client's request.}
|
||||
|
||||
\wxheading{Note}
|
||||
|
@@ -59,7 +59,7 @@ flushed to this DC when this object is destroyed. You may pass NULL
|
||||
in order to just initialize the buffer, and not flush it.}
|
||||
|
||||
\docparam{area}{The size of the bitmap to be used for buffering (this bitmap is
|
||||
created internally when it is not given explicitely).}
|
||||
created internally when it is not given explicitly).}
|
||||
|
||||
\docparam{buffer}{Explicitly provided bitmap to be used for buffering: this is
|
||||
the most efficient solution as the bitmap doesn't have to be recreated each
|
||||
|
@@ -58,7 +58,7 @@ Constructor, creating and showing a button.
|
||||
|
||||
The preferred way to create standard buttons is to use default value of
|
||||
\arg{label}. If no label is supplied and \arg{id} is one of standard IDs from
|
||||
\helpref{this list}{stockitems}, standard label will be used. In additon to
|
||||
\helpref{this list}{stockitems}, standard label will be used. In addition to
|
||||
that, the button will be decorated with stock icons under GTK+ 2.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
@@ -8,7 +8,7 @@ shadow objects for most of wxWidgets' classes and which store
|
||||
a handle to such a shadow class as client data in that class.
|
||||
This data can either be of type void - in which case the data
|
||||
{\it container} does not take care of freeing the data again
|
||||
or it is of type wxClientData or its derivates. In that case the
|
||||
or it is of type wxClientData or its derivatives. In that case the
|
||||
container (e.g. a control) will free the memory itself later.
|
||||
Note that you {\it must not} assign both void data and data
|
||||
derived from the wxClientData class to a container.
|
||||
@@ -52,7 +52,7 @@ Virtual destructor.
|
||||
This class is a mixin that provides storage and management of "client
|
||||
data." This data can either be of type void - in which case the data
|
||||
{\it container} does not take care of freeing the data again
|
||||
or it is of type wxClientData or its derivates. In that case the
|
||||
or it is of type wxClientData or its derivatives. In that case the
|
||||
container will free the memory itself later.
|
||||
Note that you {\it must not} assign both void data and data
|
||||
derived from the wxClientData class to a container.
|
||||
|
@@ -97,7 +97,7 @@ Call this function to close the clipboard, having opened it with \helpref{wxClip
|
||||
Flushes the clipboard: this means that the data which is currently on
|
||||
clipboard will stay available even after the application exits (possibly
|
||||
eating memory), otherwise the clipboard will be emptied on exit.
|
||||
Returns false if the operation is unsuccesful for any reason.
|
||||
Returns false if the operation is unsuccessful for any reason.
|
||||
|
||||
\membersection{wxClipboard::GetData}\label{wxclipboardgetdata}
|
||||
|
||||
|
@@ -119,7 +119,7 @@ Default and only constructor. The {\it mutex} must be locked by the caller
|
||||
before calling \helpref{Wait}{wxconditionwait} function.
|
||||
|
||||
Use \helpref{IsOk}{wxconditionisok} to check if the object was successfully
|
||||
intiialized.
|
||||
initialized.
|
||||
|
||||
\membersection{wxCondition::\destruct{wxCondition}}\label{wxconditiondtor}
|
||||
|
||||
@@ -205,6 +205,6 @@ timeout expires.
|
||||
\wxheading{Return value}
|
||||
|
||||
Returns {\tt wxCOND\_NO\_ERROR} if the condition was signalled,
|
||||
{\tt wxCOND\_TIMEOUT} if the timeout elapsed ebfore this happened or another
|
||||
{\tt wxCOND\_TIMEOUT} if the timeout elapsed before this happened or another
|
||||
error code from wxCondError enum.
|
||||
|
||||
|
@@ -319,7 +319,7 @@ This function is used to request a "new" wxDb instance for use by the program.
|
||||
The wxDb instance returned is also opened (see \helpref{wxDb::Open}{wxdbopen}).
|
||||
|
||||
This function (along with wxDbFreeConnection() and wxDbCloseConnection())
|
||||
maintain a cached of wxDb instances for user/re-use by a program. When a
|
||||
maintain a cache of wxDb instances for user/re-use by a program. When a
|
||||
program needs a wxDb instance, it may call this function to obtain a wxDb
|
||||
instance. If there is a wxDb instance in the cache that is currently unused
|
||||
that matches the connection requirements specified in {\it'pDbConfig'} then
|
||||
|
@@ -150,13 +150,13 @@ Returns the value of this wxLongLong with opposite sign. Not in wxULongLong.
|
||||
|
||||
\constfunc{wxLongLong}{operator$-$}{\param{const wxLongLong\& }{ll}}
|
||||
|
||||
Substracts 2 wxLongLongs and returns the result.
|
||||
Subtracts 2 wxLongLongs and returns the result.
|
||||
|
||||
\membersection{wxLongLong::operator$-=$}\label{wxlonglongoperatorminusassign}
|
||||
|
||||
\func{wxLongLong\&}{operator-}{\param{const wxLongLong\& }{ll}}
|
||||
|
||||
Substracts another wxLongLong from this one.
|
||||
Subtracts another wxLongLong from this one.
|
||||
|
||||
\membersection{wxLongLong::operator$--$}\label{wxlonglongoperatordec}
|
||||
|
||||
|
@@ -192,8 +192,8 @@ values of {\it button} are:
|
||||
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{{\tt wxMOUSE\_BTN\_LEFT}}{check if left button was pressed}
|
||||
\twocolitem{{\tt wxMOUSE\_BTN\_MIDDLE}}{check if left button was pressed}
|
||||
\twocolitem{{\tt wxMOUSE\_BTN\_RIGHT}}{check if left button was pressed}
|
||||
\twocolitem{{\tt wxMOUSE\_BTN\_MIDDLE}}{check if middle button was pressed}
|
||||
\twocolitem{{\tt wxMOUSE\_BTN\_RIGHT}}{check if right button was pressed}
|
||||
\twocolitem{{\tt wxMOUSE\_BTN\_ANY}}{check if any button was pressed}
|
||||
\end{twocollist}
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
% manual page source format generated by PolyglotMan v3.0.9,
|
||||
% available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z
|
||||
% available from http://polyglotman.sourceforge.net/
|
||||
|
||||
\section{Syntax of the builtin regular expression library}\label{wxresyn}
|
||||
|
||||
|
@@ -141,7 +141,7 @@ is stored in this region.
|
||||
|
||||
Returns {\tt true} if the region is empty, {\tt false} otherwise.
|
||||
|
||||
\membersection{wxRegion::Subtract}\label{wxregionsubstract}
|
||||
\membersection{wxRegion::Subtract}\label{wxregionsubtract}
|
||||
|
||||
\func{bool}{Subtract}{\param{const wxRect\&}{ rect}}
|
||||
|
||||
|
@@ -257,7 +257,7 @@ Sets the current position (in bytes) in the stream buffer.
|
||||
\wxheading{Warning}
|
||||
|
||||
Since it is a very low-level function, there is no check on the position:
|
||||
specifing an invalid position can induce unexpected results.
|
||||
specifying an invalid position can induce unexpected results.
|
||||
|
||||
\membersection{wxStreamBuffer::GetLastAccess}\label{wxstreambuffergetlastaccess}
|
||||
|
||||
|
@@ -5,7 +5,7 @@
|
||||
|
||||
This filter stream decompresses a stream that is in zlib or gzip format.
|
||||
Note that reading the gzip format requires zlib version 1.2.1 or greater,
|
||||
(the builtin version does support gzips).
|
||||
(the builtin version does support gzip format).
|
||||
|
||||
The stream is not seekable, \helpref{SeekI()}{wxinputstreamseeki} returns
|
||||
{\it wxInvalidOffset}. Also \helpref{GetSize()}{wxstreambasegetsize} is
|
||||
@@ -42,8 +42,8 @@ deflate stream embedded in a higher level protocol.
|
||||
%if WXWIN_COMPATIBILITY_2_4
|
||||
This version is not by default compatible with the output produced by
|
||||
the version of {\it wxZlibOutputStream} in wxWidgets 2.4.x. However,
|
||||
there is a compatibilty mode, which is switched on by passing
|
||||
wxZLIB\_24COMPATIBLE for flags. Note that in when operating in compatibilty
|
||||
there is a compatibility mode, which is switched on by passing
|
||||
wxZLIB\_24COMPATIBLE for flags. Note that in when operating in compatibility
|
||||
mode error checking is very much reduced.
|
||||
%endif
|
||||
|
||||
@@ -76,7 +76,7 @@ Returns true if zlib library in use can handle gzip compressed data.
|
||||
This stream compresses all data written to it. The compressed output can be
|
||||
in zlib or gzip format.
|
||||
Note that writing the gzip format requires zlib version 1.2.1 or greater
|
||||
(the builtin version does support gzips).
|
||||
(the builtin version does support gzip format).
|
||||
|
||||
The stream is not seekable, \helpref{SeekO()}{wxoutputstreamseeko} returns
|
||||
{\it wxInvalidOffset}.
|
||||
|
@@ -34,7 +34,7 @@ Example of usage:
|
||||
cout << "Hello, text!" << endl;
|
||||
}
|
||||
|
||||
// this goes soemwhere else, presumably to stdout
|
||||
// this goes somewhere else, presumably to stdout
|
||||
cout << "Hello, console!" << endl;
|
||||
\end{verbatim}
|
||||
}%
|
||||
|
@@ -189,7 +189,7 @@ be the only events you wish to redirect), you may use
|
||||
instead of using the slower run-time type system.
|
||||
|
||||
As mentioned above, only command events are recursively applied to the parents event
|
||||
handler in the libary itself. As this quite often causes confusion for users,
|
||||
handler in the library itself. As this quite often causes confusion for users,
|
||||
here is a list of system events which will NOT get sent to the parent's event handler:
|
||||
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
|
@@ -14,7 +14,7 @@
|
||||
\subsection{Introduction}\label{exceptionintroduction}
|
||||
|
||||
wxWidgets had been started long before the exceptions were introduced in C++ so
|
||||
it is not very surprizing that it is not built around using them as some more
|
||||
it is not very surprising that it is not built around using them as some more
|
||||
modern C++ libraries are. For instance, the library doesn't throw exceptions to
|
||||
signal about the errors. Moreover, up to (and including) the version 2.4 of
|
||||
wxWidgets, even using the exceptions in the user code was dangerous because the
|
||||
|
@@ -23,7 +23,7 @@ No base class
|
||||
control. \texttt{wxTextCoord} contains the index of a column or a row in the
|
||||
control.
|
||||
|
||||
Note that alghough both of these types should probably have been unsigned, due
|
||||
Note that although both of these types should probably have been unsigned, due
|
||||
to backwards compatibility reasons, are defined as \texttt{long} currently.
|
||||
Their use (instead of plain \texttt{long}) is still encouraged as it makes the
|
||||
code more readable.
|
||||
@@ -1143,7 +1143,7 @@ in the control is selected.
|
||||
\func{bool}{SetStyle}{\param{long }{start}, \param{long }{end}, \param{const wxTextAttr\& }{style}}
|
||||
|
||||
Changes the style of the given range. If any attribute within {\it style} is
|
||||
not set, the correspondign attribute from \helpref{GetDefaultStyle()}{wxtextctrlgetdefaultstyle} is used.
|
||||
not set, the corresponding attribute from \helpref{GetDefaultStyle()}{wxtextctrlgetdefaultstyle} is used.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
|
@@ -203,7 +203,7 @@ The following priorities are defined:
|
||||
|
||||
Returns \true if the thread is alive (i.e. started and not terminating).
|
||||
|
||||
Note that this function can only be saely used with joinable threads, not
|
||||
Note that this function can only be safely used with joinable threads, not
|
||||
detached ones as the latter delete themselves and so when the real thread is
|
||||
not alive any longer it is not possible to call this function neither because
|
||||
the wxThread object doesn't exist any more as well.
|
||||
|
@@ -16,7 +16,7 @@ Ordinarily, a \helpref{wxThread}{wxthread} derived object would be created
|
||||
with the calculation code implemented in
|
||||
\helpref{wxThread::Entry}{wxthreadentry}. To access the inputs to the
|
||||
calculation, the frame object would often to pass a pointer to itself to the
|
||||
thread object. Similiarly, the frame object would hold a pointer to the
|
||||
thread object. Similarly, the frame object would hold a pointer to the
|
||||
thread object. Shared data and synchronization objects could be stored in
|
||||
either object though the object without the data would have to access the
|
||||
data through a pointer.
|
||||
|
@@ -57,7 +57,7 @@ No base class
|
||||
\membersection{Operations}\label{timespanoperations}
|
||||
|
||||
\helpref{Add}{wxtimespanadd}\\
|
||||
\helpref{Substract}{wxtimespansubstract}\\
|
||||
\helpref{Subtract}{wxtimespansubtract}\\
|
||||
\helpref{Multiply}{wxtimespanmultiply}\\
|
||||
\helpref{Negate}{wxtimespannegate}\\
|
||||
\helpref{Neg}{wxtimespanneg}\\
|
||||
@@ -264,7 +264,7 @@ Multiplies timespan by a scalar.
|
||||
|
||||
\constfunc{wxTimeSpan}{Negate}{\void}
|
||||
|
||||
Returns timespan with inversed sign.
|
||||
Returns timespan with inverted sign.
|
||||
|
||||
\membersection{wxTimeSpan::Neg}\label{wxtimespanneg}
|
||||
|
||||
@@ -286,11 +286,11 @@ Returns the timespan for the given number of seconds.
|
||||
|
||||
Returns the timespan for one second.
|
||||
|
||||
\membersection{wxTimeSpan::Substract}\label{wxtimespansubstract}
|
||||
\membersection{wxTimeSpan::Subtract}\label{wxtimespansubtract}
|
||||
|
||||
\constfunc{wxTimeSpan}{Substract}{\param{const wxTimeSpan\&}{diff}}
|
||||
\constfunc{wxTimeSpan}{Subtract}{\param{const wxTimeSpan\&}{diff}}
|
||||
|
||||
\func{wxTimeSpan\&}{Substract}{\param{const wxTimeSpan\& }{diff}}
|
||||
\func{wxTimeSpan\&}{Subtract}{\param{const wxTimeSpan\& }{diff}}
|
||||
|
||||
\func{wxTimeSpan\&}{operator$-=$}{\param{const wxTimeSpan\&}{diff}}
|
||||
|
||||
|
@@ -58,7 +58,7 @@ use:
|
||||
wxSystemOptions::SetOption(wxT("msw.remap"), 2);
|
||||
\end{verbatim}
|
||||
|
||||
then colour remapping is switched of, and a transparent background used. But only
|
||||
then colour remapping is switched off, and a transparent background used. But only
|
||||
use this option under Windows XP with true colour:
|
||||
|
||||
\begin{verbatim}
|
||||
|
@@ -45,7 +45,7 @@ please look at the printout sample code.
|
||||
{
|
||||
// Pass two printout objects: for preview, and possible printing.
|
||||
wxPrintPreview *preview = new wxPrintPreview(new MyPrintout, new MyPrintout);
|
||||
wxPreviewFrame *frame = new wxPreviewFrame(preview, this, "Demo Print Preview", 100, 100, 600, 650);
|
||||
wxPreviewFrame *frame = new wxPreviewFrame(preview, this, "Demo Print Preview", wxPoint(100, 100), wxSize(600, 650));
|
||||
frame->Centre(wxBOTH);
|
||||
frame->Initialize();
|
||||
frame->Show(true);
|
||||
|
@@ -26,7 +26,7 @@ functions that take a wxTreeEvent argument.
|
||||
\twocolitem{{\bf EVT\_TREE\_END\_DRAG(id, func)}}{The user has released the mouse after dragging an item.}
|
||||
\twocolitem{{\bf EVT\_TREE\_END\_LABEL\_EDIT(id, func)}}{The user has finished editing a label. This can be prevented by calling \helpref{Veto()}{wxnotifyeventveto}.}
|
||||
\twocolitem{{\bf EVT\_TREE\_DELETE\_ITEM(id, func)}}{A tree item has been deleted.}
|
||||
% thy're not very (or at all) useful currently
|
||||
% they're not very (or at all) useful currently
|
||||
%\twocolitem{{\bf EVT\_TREE\_GET\_INFO(id, func)}}{Request information from the application.}
|
||||
%\twocolitem{{\bf EVT\_TREE\_SET\_INFO(id, func)}}{Information is being supplied.}
|
||||
\twocolitem{{\bf EVT\_TREE\_ITEM\_ACTIVATED(id, func)}}{An item has been activated (e.g. double clicked).}
|
||||
|
@@ -38,14 +38,14 @@ more robust and will undoubtedly save you countless problems (example: under
|
||||
Win32 a thread can only access GDI objects such as pens, brushes, \&c created by
|
||||
itself and not by the other threads).
|
||||
|
||||
For communication between secondar threads and the main thread, use may use
|
||||
For communication between secondary threads and the main thread, you may use
|
||||
\helpref{wxEvtHandler::AddPendingEvent}{wxevthandleraddpendingevent}
|
||||
or its short version \helpref{wxPostEvent}{wxpostevent}. These functions
|
||||
have thread safe implementation so that they can be used as they are for
|
||||
sending event from one thread to another. However there is no built in method
|
||||
sending events from one thread to another. However there is no built in method
|
||||
to send messages to the worker threads and you will need to use the available
|
||||
synchronization classes to implement the solution which suits your needs
|
||||
yourself. In particular, please notice that it is \emph{not} enough to derive
|
||||
yourself. In particular, please note that it is \emph{not} enough to derive
|
||||
your class from \helpref{wxThread}{wxthread} and
|
||||
\helpref{wxEvtHandler}{wxevthandler} to send messages to it: in fact, this does
|
||||
\emph{not} work at all.
|
||||
|
@@ -57,7 +57,7 @@ _("This is my second tip")
|
||||
Now add your tips.txt file into the list of files that gettext searches
|
||||
for translatable strings. The tips will thus get included into your
|
||||
generated .po file catalog and be translated at runtime along with the rest of
|
||||
your aplication's translatable strings.
|
||||
your application's translatable strings.
|
||||
Note1: Each line in the tips.txt file needs to strictly begin with exactly the
|
||||
3 characters of underscore-parenthesis-doublequote, and end with
|
||||
doublequote-parenthesis, as shown above.
|
||||
|
@@ -95,7 +95,7 @@ For example:
|
||||
|
||||
\wxheading{Note}
|
||||
|
||||
XRS file is esentially a renamed ZIP archive which means that you can manipulate
|
||||
XRS file is essentially a renamed ZIP archive which means that you can manipulate
|
||||
it with standard ZIP tools. Note that if you are using XRS files, you have
|
||||
to initialize \helpref{wxFileSystem}{wxfilesystem} ZIP handler first! It is a simple
|
||||
thing to do:
|
||||
@@ -424,7 +424,7 @@ containing class definitions for the GUI windows defined in the XRC file.
|
||||
This code generation can make it easier to use XRC and automate program
|
||||
development.
|
||||
The classes can be used as basis for development, freeing the
|
||||
programmer from dealing with most of the XRC specifities (e.g. {\tt XRCCTRL}).
|
||||
programmer from dealing with most of the XRC specifics (e.g. {\tt XRCCTRL}).
|
||||
|
||||
For each top level window defined in the XRC file a C++ class definition is
|
||||
generated, containing as class members the named widgets of the window.
|
||||
|
@@ -129,7 +129,7 @@ Get the number of items in the control.
|
||||
\constfunc{wxPoint}{GetMargins}{\void}
|
||||
|
||||
Returns the margins used by the control. The {\tt x} field of the returned
|
||||
point is the horizontal margine and the {\tt y} field is the vertical one.
|
||||
point is the horizontal margin and the {\tt y} field is the vertical one.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
|
@@ -33,7 +33,7 @@ moment on the scrolling is handled entirely by wxVScrolledWindow, you only
|
||||
need to draw the visible part of contents in your {\tt OnPaint()} method as
|
||||
usual. You should use \helpref{GetFirstVisibleLine()}{wxvscrolledwindowgetfirstvisibleline}
|
||||
and \helpref{GetLastVisibleLine()}{wxvscrolledwindowgetlastvisibleline} to
|
||||
select the lines to display. ote that the device context origin is not shifted
|
||||
select the lines to display. Note that the device context origin is not shifted
|
||||
so the first visible line always appears at the point $(0, 0)$ in physical as
|
||||
well as logical coordinates.
|
||||
|
||||
@@ -210,7 +210,7 @@ should be less than or equal to {\it to}.
|
||||
\func{void}{RefreshAll}{\void}
|
||||
|
||||
This function completely refreshes the control, recalculating the number of
|
||||
items shown on screen and repaining them. It should be called when the values
|
||||
items shown on screen and repainting them. It should be called when the values
|
||||
returned by \helpref{OnGetLineHeight}{wxvscrolledwindowongetlineheight} change
|
||||
for some reason and the window must be updated to reflect this.
|
||||
|
||||
|
@@ -426,7 +426,7 @@ Dialog units are used for maintaining a dialog's proportions even if the font ch
|
||||
|
||||
\helpref{wxWindow::ConvertDialogToPixels}{wxwindowconvertdialogtopixels}
|
||||
|
||||
\pythonnote{In place of a single overloaded method name, wxPythonimplements the following methods:\par
|
||||
\pythonnote{In place of a single overloaded method name, wxPython implements the following methods:\par
|
||||
\indented{2cm}{\begin{twocollist}
|
||||
\twocolitem{{\bf ConvertDialogPointToPixels(point)}}{Accepts and returns a wxPoint}
|
||||
\twocolitem{{\bf ConvertDialogSizeToPixels(size)}}{Accepts and returns a wxSize}
|
||||
@@ -670,7 +670,7 @@ Gets the accelerator table for this window. See \helpref{wxAcceleratorTable}{wxa
|
||||
|
||||
\membersection{wxWindow::GetAccessible}\label{wxwindowgetaccessible}
|
||||
|
||||
\func{wxAccessibile*}{GetAccessible}{\void}
|
||||
\func{wxAccessible*}{GetAccessible}{\void}
|
||||
|
||||
Returns the accessible object for this window, if any.
|
||||
|
||||
@@ -1319,8 +1319,8 @@ the window overrides \helpref{ShouldInheritColours}{wxwindowshouldinheritcolours
|
||||
to return \false, the colours will not be changed no matter what and only the
|
||||
font might.
|
||||
|
||||
This rather complicated logic is necessary in order to accomodate the
|
||||
different usage scenarius. The most common one is when all default attributes
|
||||
This rather complicated logic is necessary in order to accommodate the
|
||||
different usage scenarios. The most common one is when all default attributes
|
||||
are used and in this case, nothing should be inherited as in modern GUIs
|
||||
different controls use different fonts (and colours) than their siblings so
|
||||
they can't inherit the same value from the parent. However it was also deemed
|
||||
@@ -2379,7 +2379,7 @@ Sets the accelerator table for this window. See \helpref{wxAcceleratorTable}{wxa
|
||||
|
||||
\membersection{wxWindow::SetAccessible}\label{wxwindowsetaccessible}
|
||||
|
||||
\func{void}{SetAccessible}{\param{wxAccessibile*}{ accessible}}
|
||||
\func{void}{SetAccessible}{\param{wxAccessible*}{ accessible}}
|
||||
|
||||
Sets the accessible for this window. Any existing accessible for this window
|
||||
will be deleted first, if not identical to {\it accessible}.
|
||||
@@ -3248,7 +3248,7 @@ See \helpref{Window styles}{windowstyles} for more information about flags.
|
||||
|
||||
This function can be called under all platforms but only does anything under
|
||||
Mac OS X 10.3+ currently. Under this system, each of the standard control can
|
||||
exist in several sizes which correpond to the elements of wxWindowVariant
|
||||
exist in several sizes which correspond to the elements of wxWindowVariant
|
||||
enum:
|
||||
\begin{verbatim}
|
||||
enum wxWindowVariant
|
||||
|
@@ -181,7 +181,7 @@ by repeatedly applying
|
||||
any page inserted into the sizer. Third,
|
||||
the minimal size specified using \helpref{SetPageSize}{wxwizardsetpagesize} and
|
||||
\helpref{FitToPage}{wxwizardfittopage}. Fourth, the total wizard height may
|
||||
be increased to accomodate the bitmap height. Fifth and finally, wizards are
|
||||
be increased to accommodate the bitmap height. Fifth and finally, wizards are
|
||||
never smaller than some built-in minimal size to avoid wizards that are too small.
|
||||
|
||||
The caller can use \helpref{wxSizer::SetMinSize}{wxsizersetminsize} to enlarge it
|
||||
|
@@ -492,7 +492,7 @@ wxString DeleteAllVowels(const wxString& original)
|
||||
|
||||
\end{verbatim}
|
||||
|
||||
because it will avoid the need of reallocating string memory many times (in case
|
||||
because it will avoid the need to reallocate string memory many times (in case
|
||||
of long strings). Note that it does not set the maximal length of a string - it
|
||||
will still expand if more than {\it nLen} characters are stored in it. Also, it
|
||||
does not truncate the existing string (use
|
||||
@@ -597,7 +597,7 @@ Case-sensitive comparison. Returns 0 if equal, 1 if greater or -1 if less.
|
||||
|
||||
\constfunc{bool}{Contains}{\param{const wxString\&}{ str}}
|
||||
|
||||
Returns 1 if target appears anyhere in wxString; else 0.
|
||||
Returns 1 if target appears anywhere in wxString; else 0.
|
||||
|
||||
\membersection{wxString::Empty}\label{wxstringempty}
|
||||
|
||||
@@ -1045,7 +1045,7 @@ familiar with C) results.
|
||||
|
||||
\constfunc{bool}{ToULong}{\param{unsigned long}{ *val}, \param{int }{base = $10$}}
|
||||
|
||||
Attempts to convert the string to a ansigned integer in base {\it base}.
|
||||
Attempts to convert the string to a unsigned integer in base {\it base}.
|
||||
Returns {\tt true} on success in which case the number is stored in the
|
||||
location pointed to by {\it val} or {\tt false} if the string does not
|
||||
represent a valid number in the given base.
|
||||
@@ -1122,7 +1122,7 @@ The macro wxWX2WCbuf is defined as the correct return type (without const).
|
||||
\constfunc{bool}{operator!}{\void}
|
||||
|
||||
Empty string is false, so !string will only return true if the string is empty.
|
||||
This allows the tests for NULLness of a {\it const char *} pointer and emptyness
|
||||
This allows the tests for NULLness of a {\it const char *} pointer and emptiness
|
||||
of the string to look the same in the code and makes it easier to port old code
|
||||
to wxString.
|
||||
|
||||
@@ -1145,8 +1145,8 @@ constructor (see \helpref{wxString constructors}{wxstringconstruct}).
|
||||
|
||||
\membersection{wxString::operator $+$}\label{wxstringoperatorplus}
|
||||
|
||||
Concatenation: all these operators return a new strign equal to the sum of the
|
||||
operands.
|
||||
Concatenation: all these operators return a new string equal to the
|
||||
concatenation of the operands.
|
||||
|
||||
\func{wxString}{operator $+$}{\param{const wxString\&}{ x}, \param{const wxString\&}{ y}}
|
||||
|
||||
@@ -1248,7 +1248,7 @@ These comparisons are case-sensitive.
|
||||
\section{\class{wxStringBuffer}}\label{wxstringbuffer}
|
||||
|
||||
This tiny class allows to conveniently access the \helpref{wxString}{wxstring}
|
||||
internal buffer as a writable pointer without any risk to forget to restore
|
||||
internal buffer as a writable pointer without any risk of forgetting to restore
|
||||
the string to the usable state later.
|
||||
|
||||
For example, assuming you have a low-level OS function called
|
||||
|
Reference in New Issue
Block a user