automated changes: many (pure) virtual specifiers added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -167,7 +167,7 @@ public:
|
|||||||
(@c dbghlp32.dll can be installed under older systems to make minidumps
|
(@c dbghlp32.dll can be installed under older systems to make minidumps
|
||||||
available).
|
available).
|
||||||
*/
|
*/
|
||||||
bool AddDump(Context ctx);
|
virtual bool AddDump(Context ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The same as calling AddContext(Context_Exception).
|
The same as calling AddContext(Context_Exception).
|
||||||
|
@@ -358,7 +358,7 @@ public:
|
|||||||
|
|
||||||
Must be overridden in derived handlers.
|
Must be overridden in derived handlers.
|
||||||
*/
|
*/
|
||||||
virtual bool CanOpen(const wxString& location);
|
virtual bool CanOpen(const wxString& location) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Works like ::wxFindFirstFile().
|
Works like ::wxFindFirstFile().
|
||||||
|
@@ -264,6 +264,6 @@ public:
|
|||||||
so that the output of the previous OpenGL commands is displayed on the window.
|
so that the output of the previous OpenGL commands is displayed on the window.
|
||||||
Returns @false if an error occurred.
|
Returns @false if an error occurred.
|
||||||
*/
|
*/
|
||||||
bool SwapBuffers();
|
virtual bool SwapBuffers();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -37,14 +37,13 @@ public:
|
|||||||
Appends a an arc to two tangents connecting (current) to (x1,y1) and (x1,y1) to
|
Appends a an arc to two tangents connecting (current) to (x1,y1) and (x1,y1) to
|
||||||
(x2,y2), also a straight line from (current) to (x1,y1).
|
(x2,y2), also a straight line from (current) to (x1,y1).
|
||||||
*/
|
*/
|
||||||
void AddArcToPoint(wxDouble x1, wxDouble y1, wxDouble x2,
|
virtual void AddArcToPoint(wxDouble x1, wxDouble y1, wxDouble x2,
|
||||||
wxDouble y2,
|
wxDouble y2, wxDouble r);
|
||||||
wxDouble r);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Appends a circle around (x,y) with radius r as a new closed subpath.
|
Appends a circle around (x,y) with radius r as a new closed subpath.
|
||||||
*/
|
*/
|
||||||
void AddCircle(wxDouble x, wxDouble y, wxDouble r);
|
virtual void AddCircle(wxDouble x, wxDouble y, wxDouble r);
|
||||||
|
|
||||||
//@{
|
//@{
|
||||||
/**
|
/**
|
||||||
@@ -62,7 +61,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Appends an ellipse fitting into the passed in rectangle.
|
Appends an ellipse fitting into the passed in rectangle.
|
||||||
*/
|
*/
|
||||||
void AddEllipse(wxDouble x, wxDouble y, wxDouble w, wxDouble h);
|
virtual void AddEllipse(wxDouble x, wxDouble y, wxDouble w, wxDouble h);
|
||||||
|
|
||||||
//@{
|
//@{
|
||||||
/**
|
/**
|
||||||
@@ -75,7 +74,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Adds another path.
|
Adds another path.
|
||||||
*/
|
*/
|
||||||
void AddPath(const wxGraphicsPath& path);
|
virtual void AddPath(const wxGraphicsPath& path);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Adds a quadratic Bezier curve from the current point, using a control point and
|
Adds a quadratic Bezier curve from the current point, using a control point and
|
||||||
@@ -87,19 +86,18 @@ public:
|
|||||||
/**
|
/**
|
||||||
Appends a rectangle as a new closed subpath.
|
Appends a rectangle as a new closed subpath.
|
||||||
*/
|
*/
|
||||||
void AddRectangle(wxDouble x, wxDouble y, wxDouble w, wxDouble h);
|
virtual void AddRectangle(wxDouble x, wxDouble y, wxDouble w, wxDouble h);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Appends a rounded rectangle as a new closed subpath.
|
Appends a rounded rectangle as a new closed subpath.
|
||||||
*/
|
*/
|
||||||
void AddRoundedRectangle(wxDouble x, wxDouble y, wxDouble w,
|
virtual void AddRoundedRectangle(wxDouble x, wxDouble y, wxDouble w,
|
||||||
wxDouble h,
|
wxDouble h, wxDouble radius);
|
||||||
wxDouble radius);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Closes the current sub-path.
|
Closes the current sub-path.
|
||||||
*/
|
*/
|
||||||
void CloseSubpath();
|
virtual void CloseSubpath();
|
||||||
|
|
||||||
//@{
|
//@{
|
||||||
/**
|
/**
|
||||||
@@ -132,7 +130,7 @@ public:
|
|||||||
Returns the native path (CGPathRef for Core Graphics, Path pointer for GDIPlus
|
Returns the native path (CGPathRef for Core Graphics, Path pointer for GDIPlus
|
||||||
and a cairo_path_t pointer for cairo).
|
and a cairo_path_t pointer for cairo).
|
||||||
*/
|
*/
|
||||||
void* GetNativePath() const;
|
virtual void* GetNativePath() const;
|
||||||
|
|
||||||
//@{
|
//@{
|
||||||
/**
|
/**
|
||||||
@@ -145,14 +143,14 @@ public:
|
|||||||
/**
|
/**
|
||||||
Transforms each point of this path by the matrix.
|
Transforms each point of this path by the matrix.
|
||||||
*/
|
*/
|
||||||
void Transform(const wxGraphicsMatrix& matrix);
|
virtual void Transform(const wxGraphicsMatrix& matrix);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gives back the native path returned by GetNativePath() because there might be
|
Gives back the native path returned by GetNativePath() because there might be
|
||||||
some deallocations necessary (eg on cairo the native path returned by
|
some deallocations necessary (eg on cairo the native path returned by
|
||||||
GetNativePath is newly allocated each time).
|
GetNativePath is newly allocated each time).
|
||||||
*/
|
*/
|
||||||
void UnGetNativePath(void* p) const;
|
virtual void UnGetNativePath(void* p) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -264,23 +262,23 @@ public:
|
|||||||
/**
|
/**
|
||||||
Clips drawings to the region
|
Clips drawings to the region
|
||||||
*/
|
*/
|
||||||
void Clip(const wxRegion& region);
|
virtual void Clip(const wxRegion& region) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Clips drawings to the rectangle.
|
Clips drawings to the rectangle.
|
||||||
*/
|
*/
|
||||||
void Clip(wxDouble x, wxDouble y, wxDouble w, wxDouble h);
|
virtual void Clip(wxDouble x, wxDouble y, wxDouble w, wxDouble h) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Concatenates the passed in transform with the current transform of this context
|
Concatenates the passed in transform with the current transform of this context
|
||||||
*/
|
*/
|
||||||
void ConcatTransform(const wxGraphicsMatrix& matrix);
|
virtual void ConcatTransform(const wxGraphicsMatrix& matrix) = 0;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates a native brush from a wxBrush.
|
Creates a native brush from a wxBrush.
|
||||||
*/
|
*/
|
||||||
wxGraphicsBrush CreateBrush(const wxBrush& brush) const;
|
virtual wxGraphicsBrush CreateBrush(const wxBrush& brush) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates a native graphics font from a wxFont and a text colour.
|
Creates a native graphics font from a wxFont and a text colour.
|
||||||
@@ -295,14 +293,14 @@ public:
|
|||||||
|
|
||||||
@see wxGraphicsRenderer:: CreateContextFromNativeContext
|
@see wxGraphicsRenderer:: CreateContextFromNativeContext
|
||||||
*/
|
*/
|
||||||
wxGraphicsContext* CreateFromNative(void* context);
|
static wxGraphicsContext* CreateFromNative(void* context);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates a wxGraphicsContext from a native window.
|
Creates a wxGraphicsContext from a native window.
|
||||||
|
|
||||||
@see wxGraphicsRenderer:: CreateContextFromNativeWindow
|
@see wxGraphicsRenderer:: CreateContextFromNativeWindow
|
||||||
*/
|
*/
|
||||||
wxGraphicsContext* CreateFromNativeWindow(void* window);
|
static wxGraphicsContext* CreateFromNativeWindow(void* window);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates a native brush, having a linear gradient, starting at (x1,y1) with
|
Creates a native brush, having a linear gradient, starting at (x1,y1) with
|
||||||
@@ -333,19 +331,17 @@ public:
|
|||||||
/**
|
/**
|
||||||
Creates a native pen from a wxPen.
|
Creates a native pen from a wxPen.
|
||||||
*/
|
*/
|
||||||
wxGraphicsPen CreatePen(const wxPen& pen) const;
|
virtual wxGraphicsPen CreatePen(const wxPen& pen) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates a native brush, having a radial gradient originating at (xo,yc) with
|
Creates a native brush, having a radial gradient originating at (xo,yc) with
|
||||||
color oColour and ends on a circle around (xc,yc) with radius r and color cColour
|
color oColour and ends on a circle around (xc,yc) with radius r and color cColour
|
||||||
*/
|
*/
|
||||||
wxGraphicsBrush CreateRadialGradientBrush(wxDouble xo,
|
virtual wxGraphicsBrush CreateRadialGradientBrush(wxDouble xo, wxDouble yo,
|
||||||
wxDouble yo,
|
wxDouble xc, wxDouble yc,
|
||||||
wxDouble xc,
|
wxDouble radius,
|
||||||
wxDouble yc,
|
const wxColour& oColor,
|
||||||
wxDouble radius,
|
const wxColour& cColor) const;
|
||||||
const wxColour& oColor,
|
|
||||||
const wxColour& cColor) const;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Draws the bitmap. In case of a mono bitmap, this is treated as a mask and the
|
Draws the bitmap. In case of a mono bitmap, this is treated as a mask and the
|
||||||
@@ -357,7 +353,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Draws an ellipse.
|
Draws an ellipse.
|
||||||
*/
|
*/
|
||||||
void DrawEllipse(wxDouble x, wxDouble y, wxDouble w, wxDouble h);
|
virtual void DrawEllipse(wxDouble x, wxDouble y, wxDouble w, wxDouble h);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Draws the icon.
|
Draws the icon.
|
||||||
@@ -386,9 +382,8 @@ public:
|
|||||||
/**
|
/**
|
||||||
Draws a rounded rectangle.
|
Draws a rounded rectangle.
|
||||||
*/
|
*/
|
||||||
void DrawRoundedRectangle(wxDouble x, wxDouble y, wxDouble w,
|
virtual void DrawRoundedRectangle(wxDouble x, wxDouble y, wxDouble w,
|
||||||
wxDouble h,
|
wxDouble h, wxDouble radius);
|
||||||
wxDouble radius);
|
|
||||||
|
|
||||||
//@{
|
//@{
|
||||||
/**
|
/**
|
||||||
@@ -409,7 +404,7 @@ public:
|
|||||||
Returns the native context (CGContextRef for Core Graphics, Graphics pointer
|
Returns the native context (CGContextRef for Core Graphics, Graphics pointer
|
||||||
for GDIPlus and cairo_t pointer for cairo).
|
for GDIPlus and cairo_t pointer for cairo).
|
||||||
*/
|
*/
|
||||||
void* GetNativeContext();
|
virtual void* GetNativeContext() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Fills the @a widths array with the widths from the beginning of
|
Fills the @a widths array with the widths from the beginning of
|
||||||
@@ -426,30 +421,29 @@ public:
|
|||||||
descender, and @a externalLeading is any extra vertical space added
|
descender, and @a externalLeading is any extra vertical space added
|
||||||
to the font by the font designer (usually is zero).
|
to the font by the font designer (usually is zero).
|
||||||
*/
|
*/
|
||||||
void GetTextExtent(const wxString& text, wxDouble* width,
|
virtual void GetTextExtent(const wxString& text, wxDouble* width,
|
||||||
wxDouble* height,
|
wxDouble* height, wxDouble* descent,
|
||||||
wxDouble* descent,
|
wxDouble* externalLeading) const = 0;
|
||||||
wxDouble* externalLeading) const;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gets the current transformation matrix of this context.
|
Gets the current transformation matrix of this context.
|
||||||
*/
|
*/
|
||||||
wxGraphicsMatrix GetTransform() const;
|
virtual wxGraphicsMatrix GetTransform() const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Resets the clipping to original shape.
|
Resets the clipping to original shape.
|
||||||
*/
|
*/
|
||||||
void ResetClip();
|
virtual void ResetClip() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Rotates the current transformation matrix (radians),
|
Rotates the current transformation matrix (radians),
|
||||||
*/
|
*/
|
||||||
void Rotate(wxDouble angle);
|
virtual void Rotate(wxDouble angle) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Scales the current transformation matrix.
|
Scales the current transformation matrix.
|
||||||
*/
|
*/
|
||||||
void Scale(wxDouble xScale, wxDouble yScale);
|
virtual void Scale(wxDouble xScale, wxDouble yScale) = 0;
|
||||||
|
|
||||||
//@{
|
//@{
|
||||||
/**
|
/**
|
||||||
@@ -478,7 +472,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Sets the current transformation matrix of this context
|
Sets the current transformation matrix of this context
|
||||||
*/
|
*/
|
||||||
void SetTransform(const wxGraphicsMatrix& matrix);
|
virtual void SetTransform(const wxGraphicsMatrix& matrix) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Strokes a single line.
|
Strokes a single line.
|
||||||
@@ -499,12 +493,12 @@ public:
|
|||||||
/**
|
/**
|
||||||
Strokes along a path with the current pen.
|
Strokes along a path with the current pen.
|
||||||
*/
|
*/
|
||||||
void StrokePath(const wxGraphicsPath& path);
|
virtual void StrokePath(const wxGraphicsPath& path) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Translates the current transformation matrix.
|
Translates the current transformation matrix.
|
||||||
*/
|
*/
|
||||||
void Translate(wxDouble dx, wxDouble dy);
|
virtual void Translate(wxDouble dx, wxDouble dy) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -555,7 +549,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Creates a native brush from a wxBrush.
|
Creates a native brush from a wxBrush.
|
||||||
*/
|
*/
|
||||||
wxGraphicsBrush CreateBrush(const wxBrush& brush);
|
virtual wxGraphicsBrush CreateBrush(const wxBrush& brush) = 0;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -563,12 +557,12 @@ public:
|
|||||||
eg a CGContextRef for Core Graphics, a Graphics pointer for GDIPlus or a cairo_t
|
eg a CGContextRef for Core Graphics, a Graphics pointer for GDIPlus or a cairo_t
|
||||||
pointer for cairo.
|
pointer for cairo.
|
||||||
*/
|
*/
|
||||||
wxGraphicsContext* CreateContextFromNativeContext(void* context);
|
virtual wxGraphicsContext* CreateContextFromNativeContext(void* context) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates a wxGraphicsContext from a native window.
|
Creates a wxGraphicsContext from a native window.
|
||||||
*/
|
*/
|
||||||
wxGraphicsContext* CreateContextFromNativeWindow(void* window);
|
virtual wxGraphicsContext* CreateContextFromNativeWindow(void* window) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates a native graphics font from a wxFont and a text colour.
|
Creates a native graphics font from a wxFont and a text colour.
|
||||||
@@ -600,24 +594,22 @@ public:
|
|||||||
/**
|
/**
|
||||||
Creates a native graphics path which is initially empty.
|
Creates a native graphics path which is initially empty.
|
||||||
*/
|
*/
|
||||||
wxGraphicsPath CreatePath();
|
virtual wxGraphicsPath CreatePath() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates a native pen from a wxPen.
|
Creates a native pen from a wxPen.
|
||||||
*/
|
*/
|
||||||
wxGraphicsPen CreatePen(const wxPen& pen);
|
virtual wxGraphicsPen CreatePen(const wxPen& pen) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates a native brush, having a radial gradient originating at (xo,yc) with
|
Creates a native brush, having a radial gradient originating at (xo,yc) with
|
||||||
color oColour and ends on a circle around (xc,yc) with radius r and color cColour
|
color oColour and ends on a circle around (xc,yc) with radius r and color cColour
|
||||||
*/
|
*/
|
||||||
wxGraphicsBrush CreateRadialGradientBrush(wxDouble xo,
|
virtual wxGraphicsBrush CreateRadialGradientBrush(wxDouble xo, wxDouble yo,
|
||||||
wxDouble yo,
|
wxDouble xc, wxDouble yc,
|
||||||
wxDouble xc,
|
wxDouble radius,
|
||||||
wxDouble yc,
|
const wxColour& oColour,
|
||||||
wxDouble radius,
|
const wxColour& cColour) = 0;
|
||||||
const wxColour& oColour,
|
|
||||||
const wxColour& cColour);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the default renderer on this platform. On OS X this is the Core
|
Returns the default renderer on this platform. On OS X this is the Core
|
||||||
@@ -710,20 +702,20 @@ public:
|
|||||||
/**
|
/**
|
||||||
Returns the component values of the matrix via the argument pointers.
|
Returns the component values of the matrix via the argument pointers.
|
||||||
*/
|
*/
|
||||||
void Get(wxDouble* a = NULL, wxDouble* b = NULL, wxDouble* c = NULL,
|
virtual void Get(wxDouble* a = NULL, wxDouble* b = NULL, wxDouble* c = NULL,
|
||||||
wxDouble* d = NULL, wxDouble* tx = NULL,
|
wxDouble* d = NULL, wxDouble* tx = NULL,
|
||||||
wxDouble* ty = NULL) const;
|
wxDouble* ty = NULL) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the native representation of the matrix. For CoreGraphics this is a
|
Returns the native representation of the matrix. For CoreGraphics this is a
|
||||||
CFAffineMatrix pointer. For GDIPlus a Matrix Pointer and for Cairo a cairo_matrix_t pointer.
|
CFAffineMatrix pointer. For GDIPlus a Matrix Pointer and for Cairo a cairo_matrix_t pointer.
|
||||||
*/
|
*/
|
||||||
void* GetNativeMatrix() const;
|
virtual void* GetNativeMatrix() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Inverts the matrix.
|
Inverts the matrix.
|
||||||
*/
|
*/
|
||||||
void Invert();
|
virtual void Invert();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns @true if the elements of the transformation matrix are equal.
|
Returns @true if the elements of the transformation matrix are equal.
|
||||||
@@ -733,17 +725,17 @@ public:
|
|||||||
/**
|
/**
|
||||||
Return @true if this is the identity matrix.
|
Return @true if this is the identity matrix.
|
||||||
*/
|
*/
|
||||||
bool IsIdentity() const;
|
virtual bool IsIdentity() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Rotates this matrix (radians).
|
Rotates this matrix (radians).
|
||||||
*/
|
*/
|
||||||
void Rotate(wxDouble angle);
|
virtual void Rotate(wxDouble angle);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Scales this matrix.
|
Scales this matrix.
|
||||||
*/
|
*/
|
||||||
void Scale(wxDouble xScale, wxDouble yScale);
|
virtual void Scale(wxDouble xScale, wxDouble yScale);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Sets the matrix to the respective values (default values are the identity
|
Sets the matrix to the respective values (default values are the identity
|
||||||
@@ -757,16 +749,16 @@ public:
|
|||||||
Applies this matrix to a distance (ie. performs all transforms except
|
Applies this matrix to a distance (ie. performs all transforms except
|
||||||
translations)
|
translations)
|
||||||
*/
|
*/
|
||||||
void TransformDistance(wxDouble* dx, wxDouble* dy) const;
|
virtual void TransformDistance(wxDouble* dx, wxDouble* dy) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Applies this matrix to a point.
|
Applies this matrix to a point.
|
||||||
*/
|
*/
|
||||||
void TransformPoint(wxDouble* x, wxDouble* y) const;
|
virtual void TransformPoint(wxDouble* x, wxDouble* y) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Translates this matrix.
|
Translates this matrix.
|
||||||
*/
|
*/
|
||||||
void Translate(wxDouble dx, wxDouble dy);
|
virtual void Translate(wxDouble dx, wxDouble dy);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -476,12 +476,12 @@ public:
|
|||||||
Fetch the value from the table and prepare the edit control
|
Fetch the value from the table and prepare the edit control
|
||||||
to begin editing. Set the focus to the edit control.
|
to begin editing. Set the focus to the edit control.
|
||||||
*/
|
*/
|
||||||
void BeginEdit(int row, int col, wxGrid* grid);
|
virtual void BeginEdit(int row, int col, wxGrid* grid) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Create a new object which is the copy of this one.
|
Create a new object which is the copy of this one.
|
||||||
*/
|
*/
|
||||||
wxGridCellEditor* Clone() const;
|
virtual wxGridCellEditor* Clone() const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates the actual edit control.
|
Creates the actual edit control.
|
||||||
@@ -498,7 +498,7 @@ public:
|
|||||||
Complete the editing of the current cell. Returns @true if the value has
|
Complete the editing of the current cell. Returns @true if the value has
|
||||||
changed. If necessary, the control may be destroyed.
|
changed. If necessary, the control may be destroyed.
|
||||||
*/
|
*/
|
||||||
bool EndEdit(int row, int col, wxGrid* grid);
|
virtual bool EndEdit(int row, int col, wxGrid* grid) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Some types of controls on some platforms may need some help
|
Some types of controls on some platforms may need some help
|
||||||
@@ -521,7 +521,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Reset the value in the control back to its starting value.
|
Reset the value in the control back to its starting value.
|
||||||
*/
|
*/
|
||||||
void Reset();
|
virtual void Reset() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Size and position the edit control.
|
Size and position the edit control.
|
||||||
@@ -800,7 +800,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
|
|
||||||
*/
|
*/
|
||||||
wxGridCellRenderer* Clone() const;
|
virtual wxGridCellRenderer* Clone() const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Draw the given cell on the provided DC inside the given rectangle
|
Draw the given cell on the provided DC inside the given rectangle
|
||||||
@@ -810,9 +810,9 @@ public:
|
|||||||
prepare the DC using the given attribute: it will draw the rectangle
|
prepare the DC using the given attribute: it will draw the rectangle
|
||||||
with the background colour from attr and set the text colour and font.
|
with the background colour from attr and set the text colour and font.
|
||||||
*/
|
*/
|
||||||
void Draw(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
|
virtual void Draw(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
|
||||||
const wxRect& rect, int row, int col,
|
const wxRect& rect, int row, int col,
|
||||||
bool isSelected);
|
bool isSelected) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Get the preferred size of the cell for its contents.
|
Get the preferred size of the cell for its contents.
|
||||||
|
@@ -29,12 +29,12 @@ public:
|
|||||||
Returns @true if this filter is capable of reading file @e file.
|
Returns @true if this filter is capable of reading file @e file.
|
||||||
Example:
|
Example:
|
||||||
*/
|
*/
|
||||||
bool CanRead(const wxFSFile& file);
|
virtual bool CanRead(const wxFSFile& file) const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Reads the file and returns string with HTML document.
|
Reads the file and returns string with HTML document.
|
||||||
Example:
|
Example:
|
||||||
*/
|
*/
|
||||||
wxString ReadFile(const wxFSFile& file);
|
virtual wxString ReadFile(const wxFSFile& file) const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@ public:
|
|||||||
Returns list of supported tags. The list is in uppercase and tags
|
Returns list of supported tags. The list is in uppercase and tags
|
||||||
are delimited by ','. Example : @c "I,B,FONT,P"
|
are delimited by ','. Example : @c "I,B,FONT,P"
|
||||||
*/
|
*/
|
||||||
virtual wxString GetSupportedTags();
|
virtual wxString GetSupportedTags() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This is the core method of each handler. It is called each time
|
This is the core method of each handler. It is called each time
|
||||||
@@ -36,7 +36,7 @@ public:
|
|||||||
|
|
||||||
@return @true if ParseInner was called, @false otherwise.
|
@return @true if ParseInner was called, @false otherwise.
|
||||||
*/
|
*/
|
||||||
virtual bool HandleTag(const wxHtmlTag& tag);
|
virtual bool HandleTag(const wxHtmlTag& tag) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This method calls parser's wxHtmlParser::DoParsing method
|
This method calls parser's wxHtmlParser::DoParsing method
|
||||||
@@ -155,7 +155,7 @@ public:
|
|||||||
representation in derived parser (but it must be derived from wxObject!).
|
representation in derived parser (but it must be derived from wxObject!).
|
||||||
See wxHtmlWinParser for details.
|
See wxHtmlWinParser for details.
|
||||||
*/
|
*/
|
||||||
virtual wxObject* GetProduct();
|
virtual wxObject* GetProduct() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns pointer to the source being parsed.
|
Returns pointer to the source being parsed.
|
||||||
|
@@ -125,7 +125,7 @@ protected:
|
|||||||
that the returned HTML fragment will render with the same height or else you'll
|
that the returned HTML fragment will render with the same height or else you'll
|
||||||
see some artifacts when the user selects an item.
|
see some artifacts when the user selects an item.
|
||||||
*/
|
*/
|
||||||
wxString OnGetItem(size_t n) const;
|
virtual wxString OnGetItem(size_t n) const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -295,7 +295,7 @@ public:
|
|||||||
video, if there is any.
|
video, if there is any.
|
||||||
See @ref mediactrl_video_size for more information.
|
See @ref mediactrl_video_size for more information.
|
||||||
*/
|
*/
|
||||||
wxSize GetBestSize();
|
wxSize GetBestSize() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Obtains the playback rate, or speed of the media. @c 1.0 represents normal
|
Obtains the playback rate, or speed of the media. @c 1.0 represents normal
|
||||||
|
@@ -42,7 +42,7 @@ public:
|
|||||||
|
|
||||||
@return @true if the function succeeded, @false otherwise.
|
@return @true if the function succeeded, @false otherwise.
|
||||||
*/
|
*/
|
||||||
bool Dump();
|
static bool Dump();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns @true if the memory allocator checks all previous memory blocks for
|
Returns @true if the memory allocator checks all previous memory blocks for
|
||||||
@@ -52,7 +52,7 @@ public:
|
|||||||
|
|
||||||
@see SetCheckPrevious()
|
@see SetCheckPrevious()
|
||||||
*/
|
*/
|
||||||
bool GetCheckPrevious();
|
static bool GetCheckPrevious();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns @true if debug mode is on.
|
Returns @true if debug mode is on.
|
||||||
@@ -63,7 +63,7 @@ public:
|
|||||||
|
|
||||||
@see SetDebugMode()
|
@see SetDebugMode()
|
||||||
*/
|
*/
|
||||||
bool GetDebugMode();
|
static bool GetDebugMode();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gets the debug level (default 1).
|
Gets the debug level (default 1).
|
||||||
@@ -78,7 +78,7 @@ public:
|
|||||||
|
|
||||||
@see SetLevel()
|
@see SetLevel()
|
||||||
*/
|
*/
|
||||||
int GetLevel();
|
static int GetLevel();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the output stream associated with the debug context.
|
Returns the output stream associated with the debug context.
|
||||||
@@ -117,7 +117,7 @@ public:
|
|||||||
|
|
||||||
@see PrintStatistics()
|
@see PrintStatistics()
|
||||||
*/
|
*/
|
||||||
bool PrintClasses();
|
static bool PrintClasses();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Performs a statistics analysis from the currently set checkpoint, writing
|
Performs a statistics analysis from the currently set checkpoint, writing
|
||||||
@@ -130,7 +130,7 @@ public:
|
|||||||
|
|
||||||
@see PrintStatistics()
|
@see PrintStatistics()
|
||||||
*/
|
*/
|
||||||
bool PrintStatistics(bool detailed = true);
|
static bool PrintStatistics(bool detailed = true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Tells the memory allocator to check all previous memory blocks for errors.
|
Tells the memory allocator to check all previous memory blocks for errors.
|
||||||
@@ -138,7 +138,7 @@ public:
|
|||||||
|
|
||||||
@see GetCheckPrevious()
|
@see GetCheckPrevious()
|
||||||
*/
|
*/
|
||||||
void SetCheckPrevious(bool check);
|
static void SetCheckPrevious(bool check);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Sets the current checkpoint: Dump and PrintStatistics operations will
|
Sets the current checkpoint: Dump and PrintStatistics operations will
|
||||||
@@ -149,7 +149,7 @@ public:
|
|||||||
If @true, the checkpoint is reset to include all memory allocations
|
If @true, the checkpoint is reset to include all memory allocations
|
||||||
since the program started.
|
since the program started.
|
||||||
*/
|
*/
|
||||||
void SetCheckpoint(bool all = false);
|
static void SetCheckpoint(bool all = false);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Sets the debug mode on or off.
|
Sets the debug mode on or off.
|
||||||
@@ -165,7 +165,7 @@ public:
|
|||||||
|
|
||||||
@see GetDebugMode()
|
@see GetDebugMode()
|
||||||
*/
|
*/
|
||||||
void SetDebugMode(bool debug);
|
static void SetDebugMode(bool debug);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Sets the current debug file and creates a stream.
|
Sets the current debug file and creates a stream.
|
||||||
@@ -189,7 +189,7 @@ public:
|
|||||||
|
|
||||||
@see GetLevel()
|
@see GetLevel()
|
||||||
*/
|
*/
|
||||||
void SetLevel(int level);
|
static void SetLevel(int level);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Installs a function to be called at the end of wxWidgets shutdown.
|
Installs a function to be called at the end of wxWidgets shutdown.
|
||||||
@@ -198,7 +198,7 @@ public:
|
|||||||
|
|
||||||
The shutdown function must be take no parameters and return nothing.
|
The shutdown function must be take no parameters and return nothing.
|
||||||
*/
|
*/
|
||||||
void SetShutdownNotifyFunction(wxShutdownNotifyFunction func);
|
static void SetShutdownNotifyFunction(wxShutdownNotifyFunction func);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Sets the debugging stream to be the debugger (Windows) or standard error (other
|
Sets the debugging stream to be the debugger (Windows) or standard error (other
|
||||||
|
@@ -118,12 +118,12 @@ public:
|
|||||||
/**
|
/**
|
||||||
Provide this function with appropriate cleanup for your module.
|
Provide this function with appropriate cleanup for your module.
|
||||||
*/
|
*/
|
||||||
virtual void OnExit();
|
virtual void OnExit() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Provide this function with appropriate initialization for your module.
|
Provide this function with appropriate initialization for your module.
|
||||||
If the function returns @false, wxWidgets will exit immediately.
|
If the function returns @false, wxWidgets will exit immediately.
|
||||||
*/
|
*/
|
||||||
virtual bool OnInit();
|
virtual bool OnInit() = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -799,7 +799,7 @@ public:
|
|||||||
Called by the framework when a page should be printed. Returning @false cancels
|
Called by the framework when a page should be printed. Returning @false cancels
|
||||||
the print job.
|
the print job.
|
||||||
*/
|
*/
|
||||||
bool OnPrintPage(int pageNum);
|
virtual bool OnPrintPage(int pageNum) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Set the device origin of the associated wxDC so that the current logical point
|
Set the device origin of the associated wxDC so that the current logical point
|
||||||
|
@@ -45,7 +45,7 @@ public:
|
|||||||
|
|
||||||
@return Returns @true, if successful, else @false.
|
@return Returns @true, if successful, else @false.
|
||||||
*/
|
*/
|
||||||
bool Abort();
|
virtual bool Abort() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the type of the content of the last opened stream. It is a mime-type.
|
Returns the type of the content of the last opened stream. It is a mime-type.
|
||||||
@@ -57,7 +57,7 @@ public:
|
|||||||
|
|
||||||
@see wxProtocolError
|
@see wxProtocolError
|
||||||
*/
|
*/
|
||||||
wxProtocolError GetError();
|
virtual wxProtocolError GetError() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates a new input stream on the specified path.
|
Creates a new input stream on the specified path.
|
||||||
@@ -74,7 +74,7 @@ public:
|
|||||||
|
|
||||||
@see wxInputStream
|
@see wxInputStream
|
||||||
*/
|
*/
|
||||||
wxInputStream* GetInputStream(const wxString& path);
|
virtual wxInputStream* GetInputStream(const wxString& path) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Tries to reestablish a previous opened connection (close and renegotiate
|
Tries to reestablish a previous opened connection (close and renegotiate
|
||||||
|
@@ -340,10 +340,9 @@ public:
|
|||||||
The optimal width to contain the the unabreviated label text or
|
The optimal width to contain the the unabreviated label text or
|
||||||
bitmap, the sort arrow if present, and internal margins.
|
bitmap, the sort arrow if present, and internal margins.
|
||||||
*/
|
*/
|
||||||
virtual int DrawHeaderButton(wxWindow* win, wxDC& dc,
|
virtual int DrawHeaderButton(wxWindow* win, wxDC& dc, const wxRect& rect,
|
||||||
const wxRect& rect, int flags = 0,
|
int flags = 0,
|
||||||
wxHeaderSortIconType sortArrow = wxHDR_SORT_ICON_NONE,
|
wxHeaderSortIconType sortArrow = wxHDR_SORT_ICON_NONE, wxHeaderButtonParams* params = NULL) = 0;
|
||||||
wxHeaderButtonParams* params = NULL);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Draw the contents of a header control button (label, sort arrows,
|
Draw the contents of a header control button (label, sort arrows,
|
||||||
@@ -356,10 +355,9 @@ public:
|
|||||||
The optimal width to contain the the unabreviated label text or
|
The optimal width to contain the the unabreviated label text or
|
||||||
bitmap, the sort arrow if present, and internal margins.
|
bitmap, the sort arrow if present, and internal margins.
|
||||||
*/
|
*/
|
||||||
virtual int DrawHeaderButtonContents(wxWindow *win, wxDC& dc,
|
virtual int DrawHeaderButtonContents(wxWindow* win, wxDC& dc,
|
||||||
const wxRect& rect, int flags = 0,
|
const wxRect& rect, int flags = 0,
|
||||||
wxHeaderSortIconType sortArrow = wxHDR_SORT_ICON_NONE,
|
wxHeaderSortIconType sortArrow = wxHDR_SORT_ICON_NONE, wxHeaderButtonParams* params = NULL) = 0;
|
||||||
wxHeaderButtonParams* params = NULL);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Draw a selection rectangle underneath the text as used e.g. in a
|
Draw a selection rectangle underneath the text as used e.g. in a
|
||||||
@@ -396,9 +394,9 @@ public:
|
|||||||
Draw a sash. The @a orient parameter defines whether the sash should be
|
Draw a sash. The @a orient parameter defines whether the sash should be
|
||||||
vertical or horizontal and how the @a position should be interpreted.
|
vertical or horizontal and how the @a position should be interpreted.
|
||||||
*/
|
*/
|
||||||
virtual void DrawSplitterSash(wxWindow* win, wxDC& dc,
|
virtual void DrawSplitterSash(wxWindow* win, wxDC& dc, const wxSize& size,
|
||||||
const wxSize& size, wxCoord position,
|
wxCoord position, wxOrientation orient,
|
||||||
wxOrientation orient, int flags = 0);
|
int flags = 0) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Draw the expanded/collapsed icon for a tree control item.
|
Draw the expanded/collapsed icon for a tree control item.
|
||||||
@@ -432,20 +430,20 @@ public:
|
|||||||
/**
|
/**
|
||||||
Returns the size of a check box.
|
Returns the size of a check box.
|
||||||
*/
|
*/
|
||||||
virtual wxSize GetCheckBoxSize(wxWindow *win);
|
virtual wxSize GetCheckBoxSize(wxWindow* win) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the height of a header button, either a fixed platform height if
|
Returns the height of a header button, either a fixed platform height if
|
||||||
available, or a
|
available, or a
|
||||||
generic height based on the window's font.
|
generic height based on the window's font.
|
||||||
*/
|
*/
|
||||||
virtual int GetHeaderButtonHeight(wxWindow* win);
|
virtual int GetHeaderButtonHeight(wxWindow* win) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Get the splitter parameters, see
|
Get the splitter parameters, see
|
||||||
wxSplitterRenderParams.
|
wxSplitterRenderParams.
|
||||||
*/
|
*/
|
||||||
virtual wxSplitterRenderParams GetSplitterParams(const wxWindow* win);
|
virtual wxSplitterRenderParams GetSplitterParams(const wxWindow* win) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This function is used for version checking: Load()
|
This function is used for version checking: Load()
|
||||||
@@ -458,7 +456,7 @@ public:
|
|||||||
but it has to be in the derived, not base, class, to detect mismatches between
|
but it has to be in the derived, not base, class, to detect mismatches between
|
||||||
the renderers versions and so you have to implement it anew in all renderers.
|
the renderers versions and so you have to implement it anew in all renderers.
|
||||||
*/
|
*/
|
||||||
virtual wxRendererVersion GetVersion() const;
|
virtual wxRendererVersion GetVersion() const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Load the renderer from the specified DLL, the returned pointer must be
|
Load the renderer from the specified DLL, the returned pointer must be
|
||||||
|
@@ -1043,12 +1043,14 @@ protected:
|
|||||||
/**
|
/**
|
||||||
Override to load content from @a stream into @a buffer.
|
Override to load content from @a stream into @a buffer.
|
||||||
*/
|
*/
|
||||||
bool DoLoadFile(wxRichTextBuffer* buffer, wxInputStream& stream);
|
virtual bool DoLoadFile(wxRichTextBuffer* buffer,
|
||||||
|
wxInputStream& stream) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Override to save content to @a stream from @a buffer.
|
Override to save content to @a stream from @a buffer.
|
||||||
*/
|
*/
|
||||||
bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream);
|
virtual bool DoSaveFile(wxRichTextBuffer* buffer,
|
||||||
|
wxOutputStream& stream) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1011,7 +1011,7 @@ public:
|
|||||||
This method is abstract and has to be overwritten by any derived class.
|
This method is abstract and has to be overwritten by any derived class.
|
||||||
Here, the sizer will do the actual calculation of its children's minimal sizes.
|
Here, the sizer will do the actual calculation of its children's minimal sizes.
|
||||||
*/
|
*/
|
||||||
virtual wxSize CalcMin();
|
virtual wxSize CalcMin() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Detaches all children from the sizer.
|
Detaches all children from the sizer.
|
||||||
@@ -1355,7 +1355,7 @@ public:
|
|||||||
Here, the sizer will do the actual calculation of its children's
|
Here, the sizer will do the actual calculation of its children's
|
||||||
positions and sizes.
|
positions and sizes.
|
||||||
*/
|
*/
|
||||||
virtual void RecalcSizes();
|
virtual void RecalcSizes() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Removes a child window from the sizer, but does @b not destroy it
|
Removes a child window from the sizer, but does @b not destroy it
|
||||||
|
@@ -197,7 +197,7 @@ public:
|
|||||||
|
|
||||||
@return @true on success, @false if something went wrong.
|
@return @true on success, @false if something went wrong.
|
||||||
*/
|
*/
|
||||||
virtual bool AnyAddress();
|
virtual bool AnyAddress() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Internally, this is the same as setting the IP address to @b INADDR_BROADCAST.
|
Internally, this is the same as setting the IP address to @b INADDR_BROADCAST.
|
||||||
@@ -206,7 +206,7 @@ public:
|
|||||||
|
|
||||||
@return @true on success, @false if something went wrong.
|
@return @true on success, @false if something went wrong.
|
||||||
*/
|
*/
|
||||||
virtual bool BroadcastAddress();
|
virtual bool BroadcastAddress() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Set the address to hostname, which can be a host name or an IP-style address
|
Set the address to hostname, which can be a host name or an IP-style address
|
||||||
@@ -215,24 +215,24 @@ public:
|
|||||||
@return @true on success, @false if something goes wrong (invalid
|
@return @true on success, @false if something goes wrong (invalid
|
||||||
hostname or invalid IP address).
|
hostname or invalid IP address).
|
||||||
*/
|
*/
|
||||||
virtual bool Hostname(const wxString& hostname);
|
virtual bool Hostname(const wxString& hostname) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the hostname which matches the IP address.
|
Returns the hostname which matches the IP address.
|
||||||
*/
|
*/
|
||||||
virtual wxString Hostname();
|
virtual wxString Hostname() const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns a wxString containing the IP address.
|
Returns a wxString containing the IP address.
|
||||||
*/
|
*/
|
||||||
virtual wxString IPAddress();
|
virtual wxString IPAddress() const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Determines if current address is set to localhost.
|
Determines if current address is set to localhost.
|
||||||
|
|
||||||
@return @true if address is localhost, @false if internet address.
|
@return @true if address is localhost, @false if internet address.
|
||||||
*/
|
*/
|
||||||
virtual bool IsLocalHost();
|
virtual bool IsLocalHost() const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Set address to localhost.
|
Set address to localhost.
|
||||||
@@ -243,14 +243,14 @@ public:
|
|||||||
|
|
||||||
@return @true on success, @false if something went wrong.
|
@return @true on success, @false if something went wrong.
|
||||||
*/
|
*/
|
||||||
virtual bool LocalHost();
|
virtual bool LocalHost() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Set the port to that corresponding to the specified service.
|
Set the port to that corresponding to the specified service.
|
||||||
|
|
||||||
@return @true on success, @false if something goes wrong (invalid @a service).
|
@return @true on success, @false if something goes wrong (invalid @a service).
|
||||||
*/
|
*/
|
||||||
virtual bool Service(const wxString& service);
|
virtual bool Service(const wxString& service) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Set the port to that corresponding to the specified service.
|
Set the port to that corresponding to the specified service.
|
||||||
|
@@ -77,7 +77,7 @@ protected:
|
|||||||
/**
|
/**
|
||||||
This function must be overrided to process the given frame.
|
This function must be overrided to process the given frame.
|
||||||
*/
|
*/
|
||||||
void OnStackFrame(const wxStackFrame& frame);
|
virtual void OnStackFrame(const wxStackFrame& frame) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -537,7 +537,7 @@ public:
|
|||||||
list << *p << _T("\n");
|
list << *p << _T("\n");
|
||||||
@endcode
|
@endcode
|
||||||
*/
|
*/
|
||||||
const wxChar* const* GetProtocols(wxStreamProtocolType type = wxSTREAM_PROTOCOL) const;
|
virtual const wxChar * const* GetProtocols(wxStreamProtocolType type = wxSTREAM_PROTOCOL) const = 0;
|
||||||
|
|
||||||
//@{
|
//@{
|
||||||
/**
|
/**
|
||||||
|
@@ -48,7 +48,7 @@ public:
|
|||||||
Return the text of the current tip and pass to the next one.
|
Return the text of the current tip and pass to the next one.
|
||||||
This function is pure virtual, it should be implemented in the derived classes.
|
This function is pure virtual, it should be implemented in the derived classes.
|
||||||
*/
|
*/
|
||||||
wxString GetTip();
|
virtual wxString GetTip() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns a modified tip.
|
Returns a modified tip.
|
||||||
|
@@ -97,75 +97,75 @@ public:
|
|||||||
Default constructor.
|
Default constructor.
|
||||||
*/
|
*/
|
||||||
wxVariant();
|
wxVariant();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructs a variant directly with a wxVariantData object. wxVariant
|
Constructs a variant directly with a wxVariantData object. wxVariant
|
||||||
will take ownership of the wxVariantData and will not increase its
|
will take ownership of the wxVariantData and will not increase its
|
||||||
reference count.
|
reference count.
|
||||||
*/
|
*/
|
||||||
wxVariant(wxVariantData* data, const wxString& name = "");
|
wxVariant(wxVariantData* data, const wxString& name = wxEmptyString);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructs a variant from another variant by increasing the reference
|
Constructs a variant from another variant by increasing the reference
|
||||||
count.
|
count.
|
||||||
*/
|
*/
|
||||||
wxVariant(const wxVariant& variant);
|
wxVariant(const wxVariant& variant);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructs a variant from a wide string literal.
|
Constructs a variant from a wide string literal.
|
||||||
*/
|
*/
|
||||||
wxVariant(const wxChar* value, const wxString& name = "");
|
wxVariant(const wxChar* value, const wxString& name = wxEmptyString);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructs a variant from a string.
|
Constructs a variant from a string.
|
||||||
*/
|
*/
|
||||||
wxVariant(const wxString& value, const wxString& name = "");
|
wxVariant(const wxString& value, const wxString& name = wxEmptyString);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructs a variant from a wide char.
|
Constructs a variant from a wide char.
|
||||||
*/
|
*/
|
||||||
wxVariant(wxChar value, const wxString& name = "");
|
wxVariant(wxChar value, const wxString& name = wxEmptyString);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructs a variant from a long.
|
Constructs a variant from a long.
|
||||||
*/
|
*/
|
||||||
wxVariant(long value, const wxString& name = "");
|
wxVariant(long value, const wxString& name = wxEmptyString);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructs a variant from a bool.
|
Constructs a variant from a bool.
|
||||||
*/
|
*/
|
||||||
wxVariant(bool value, const wxString& name = "");
|
wxVariant(bool value, const wxString& name = wxEmptyString);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructs a variant from a double.
|
Constructs a variant from a double.
|
||||||
*/
|
*/
|
||||||
wxVariant(double value, const wxString& name = "");
|
wxVariant(double value, const wxString& name = wxEmptyString);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructs a variant from a list of variants
|
Constructs a variant from a list of variants
|
||||||
*/
|
*/
|
||||||
wxVariant(const wxVariantList& value, const wxString& name = "");
|
wxVariant(const wxVariantList& value, const wxString& name = wxEmptyString);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructs a variant from a void pointer.
|
Constructs a variant from a void pointer.
|
||||||
*/
|
*/
|
||||||
wxVariant(void* value, const wxString& name = "");
|
wxVariant(void* value, const wxString& name = wxEmptyString);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructs a variant from a pointer to an wxObject
|
Constructs a variant from a pointer to an wxObject
|
||||||
derived class.
|
derived class.
|
||||||
*/
|
*/
|
||||||
wxVariant(wxObject* value, const wxString& name = "");
|
wxVariant(wxObject* value, const wxString& name = wxEmptyString);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructs a variant from a wxDateTime.
|
Constructs a variant from a wxDateTime.
|
||||||
*/
|
*/
|
||||||
wxVariant(wxDateTime& val, const wxString& name = "");
|
wxVariant(wxDateTime& val, const wxString& name = wxEmptyString);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructs a variant from a wxArrayString.
|
Constructs a variant from a wxArrayString.
|
||||||
*/
|
*/
|
||||||
wxVariant(wxArrayString& val, const wxString& name = "");
|
wxVariant(wxArrayString& val, const wxString& name = wxEmptyString);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Destructor.
|
Destructor.
|
||||||
@@ -514,12 +514,12 @@ public:
|
|||||||
/**
|
/**
|
||||||
Returns @true if this object is equal to @a data.
|
Returns @true if this object is equal to @a data.
|
||||||
*/
|
*/
|
||||||
bool Eq(wxVariantData& data) const;
|
virtual bool Eq(wxVariantData& data) const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the string type of the data.
|
Returns the string type of the data.
|
||||||
*/
|
*/
|
||||||
wxString GetType() const;
|
virtual wxString GetType() const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
If the data is a wxObject returns a pointer to the objects wxClassInfo
|
If the data is a wxObject returns a pointer to the objects wxClassInfo
|
||||||
|
@@ -327,12 +327,12 @@ protected:
|
|||||||
|
|
||||||
@todo Change this function signature to non-const.
|
@todo Change this function signature to non-const.
|
||||||
*/
|
*/
|
||||||
virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const;
|
virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The derived class must implement this method to return the height of
|
The derived class must implement this method to return the height of
|
||||||
the specified item (in pixels).
|
the specified item (in pixels).
|
||||||
*/
|
*/
|
||||||
virtual wxCoord OnMeasureItem(size_t n) const;
|
virtual wxCoord OnMeasureItem(size_t n) const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -96,13 +96,13 @@ public:
|
|||||||
|
|
||||||
@see GetOrientationTargetSize()
|
@see GetOrientationTargetSize()
|
||||||
*/
|
*/
|
||||||
virtual int GetNonOrientationTargetSize() const;
|
virtual int GetNonOrientationTargetSize() const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This function need to be overridden to return the orientation that this
|
This function need to be overridden to return the orientation that this
|
||||||
helper is working with, either @c wxHORIZONTAL or @c wxVERTICAL.
|
helper is working with, either @c wxHORIZONTAL or @c wxVERTICAL.
|
||||||
*/
|
*/
|
||||||
virtual wxOrientation GetOrientation() const;
|
virtual wxOrientation GetOrientation() const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This function needs to be overridden in the in the derived class to
|
This function needs to be overridden in the in the derived class to
|
||||||
@@ -112,7 +112,7 @@ public:
|
|||||||
|
|
||||||
@see GetNonOrientationTargetSize()
|
@see GetNonOrientationTargetSize()
|
||||||
*/
|
*/
|
||||||
virtual int GetOrientationTargetSize() const;
|
virtual int GetOrientationTargetSize() const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This function will return the target window this helper class is
|
This function will return the target window this helper class is
|
||||||
@@ -192,7 +192,7 @@ protected:
|
|||||||
This function must be overridden in the derived class, and should
|
This function must be overridden in the derived class, and should
|
||||||
return the size of the given unit in pixels.
|
return the size of the given unit in pixels.
|
||||||
*/
|
*/
|
||||||
virtual wxCoord OnGetUnitSize(size_t unit) const;
|
virtual wxCoord OnGetUnitSize(size_t unit) const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -328,7 +328,7 @@ protected:
|
|||||||
This function must be overridden in the derived class, and should
|
This function must be overridden in the derived class, and should
|
||||||
return the height of the given row in pixels.
|
return the height of the given row in pixels.
|
||||||
*/
|
*/
|
||||||
virtual wxCoord OnGetRowHeight(size_t row) const;
|
virtual wxCoord OnGetRowHeight(size_t row) const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -466,7 +466,7 @@ protected:
|
|||||||
This function must be overridden in the derived class, and should
|
This function must be overridden in the derived class, and should
|
||||||
return the width of the given column in pixels.
|
return the width of the given column in pixels.
|
||||||
*/
|
*/
|
||||||
virtual wxCoord OnGetColumnWidth(size_t column) const;
|
virtual wxCoord OnGetColumnWidth(size_t column) const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -965,7 +965,7 @@ public:
|
|||||||
@param origin
|
@param origin
|
||||||
Help event origin, see also wxHelpEvent::GetOrigin.
|
Help event origin, see also wxHelpEvent::GetOrigin.
|
||||||
*/
|
*/
|
||||||
virtual wxString GetHelpTextAtPoint(const wxPoint point,
|
virtual wxString GetHelpTextAtPoint(const wxPoint& point,
|
||||||
wxHelpEvent::Origin origin) const;
|
wxHelpEvent::Origin origin) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -2662,7 +2662,7 @@ public:
|
|||||||
|
|
||||||
@see RegisterHotKey()
|
@see RegisterHotKey()
|
||||||
*/
|
*/
|
||||||
bool UnregisterHotKey(int hotkeyId);
|
virtual bool UnregisterHotKey(int hotkeyId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Unreserve an ID or range of IDs that was reserved by NewControlId().
|
Unreserve an ID or range of IDs that was reserved by NewControlId().
|
||||||
|
Reference in New Issue
Block a user