automated ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -302,7 +302,7 @@ public:
|
||||
the @a bCase and @a bFromEnd parameters.
|
||||
*/
|
||||
int Index(const wxString& sz, bool bCase = true,
|
||||
bool bFromEnd = false);
|
||||
bool bFromEnd = false) const;
|
||||
|
||||
/**
|
||||
@warning this function should not be used with sorted arrays because it
|
||||
|
@@ -237,7 +237,7 @@ public:
|
||||
|
||||
@see wxDataViewItemAttr.
|
||||
*/
|
||||
bool GetAttr(const wxDataViewItem& item, unsigned int col,
|
||||
virtual bool GetAttr(const wxDataViewItem& item, unsigned int col,
|
||||
wxDataViewItemAttr& attr);
|
||||
|
||||
/**
|
||||
@@ -245,7 +245,7 @@ public:
|
||||
Returns the number of items.
|
||||
*/
|
||||
virtual unsigned int GetChildren(const wxDataViewItem& item,
|
||||
wxDataViewItemArray& children) const;
|
||||
wxDataViewItemArray& children) const = 0;
|
||||
|
||||
/**
|
||||
Override this to indicate the number of columns in the model.
|
||||
@@ -415,7 +415,7 @@ public:
|
||||
|
||||
@see wxDataViewItemAttr.
|
||||
*/
|
||||
bool GetAttr(unsigned int row, unsigned int col,
|
||||
virtual bool GetAttr(unsigned int row, unsigned int col,
|
||||
wxDataViewItemAttr& attr);
|
||||
|
||||
/**
|
||||
@@ -431,8 +431,8 @@ public:
|
||||
/**
|
||||
Override this to allow getting values from the model.
|
||||
*/
|
||||
void GetValue(wxVariant& variant, unsigned int row,
|
||||
unsigned int col) const;
|
||||
virtual void GetValue(wxVariant& variant, unsigned int row,
|
||||
unsigned int col) const = 0;
|
||||
|
||||
/**
|
||||
Call this after if the data has to be read again from the model.
|
||||
@@ -481,8 +481,8 @@ public:
|
||||
/**
|
||||
Called in order to set a value in the model.
|
||||
*/
|
||||
bool SetValue(const wxVariant& variant, unsigned int row,
|
||||
unsigned int col);
|
||||
virtual bool SetValue(const wxVariant& variant, unsigned int row,
|
||||
unsigned int col) = 0;
|
||||
};
|
||||
|
||||
|
||||
@@ -882,7 +882,7 @@ public:
|
||||
/**
|
||||
Call this to ensure that the given item is visible.
|
||||
*/
|
||||
void EnsureVisible(const wxDataViewItem& item,
|
||||
virtual void EnsureVisible(const wxDataViewItem& item,
|
||||
const wxDataViewColumn* column = NULL);
|
||||
|
||||
/**
|
||||
@@ -919,7 +919,7 @@ public:
|
||||
/**
|
||||
Returns item rect.
|
||||
*/
|
||||
wxRect GetItemRect(const wxDataViewItem& item,
|
||||
virtual wxRect GetItemRect(const wxDataViewItem& item,
|
||||
const wxDataViewColumn* col = NULL) const;
|
||||
|
||||
/**
|
||||
@@ -946,7 +946,7 @@ public:
|
||||
/**
|
||||
Hittest.
|
||||
*/
|
||||
void HitTest(const wxPoint& point, wxDataViewItem& item,
|
||||
virtual void HitTest(const wxPoint& point, wxDataViewItem& item,
|
||||
wxDataViewColumn*& col) const;
|
||||
|
||||
/**
|
||||
@@ -1029,8 +1029,8 @@ public:
|
||||
/**
|
||||
Called by owning model.
|
||||
*/
|
||||
bool ItemAdded(const wxDataViewItem& parent,
|
||||
const wxDataViewItem& item);
|
||||
virtual bool ItemAdded(const wxDataViewItem& parent,
|
||||
const wxDataViewItem& item) = 0;
|
||||
|
||||
/**
|
||||
Called by owning model.
|
||||
@@ -1040,13 +1040,13 @@ public:
|
||||
/**
|
||||
Called by owning model.
|
||||
*/
|
||||
bool ItemDeleted(const wxDataViewItem& parent,
|
||||
const wxDataViewItem& item);
|
||||
virtual bool ItemDeleted(const wxDataViewItem& parent,
|
||||
const wxDataViewItem& item) = 0;
|
||||
|
||||
/**
|
||||
Called by owning model.
|
||||
*/
|
||||
bool ItemsAdded(const wxDataViewItem& parent,
|
||||
virtual bool ItemsAdded(const wxDataViewItem& parent,
|
||||
const wxDataViewItemArray& items);
|
||||
|
||||
/**
|
||||
@@ -1057,7 +1057,7 @@ public:
|
||||
/**
|
||||
Called by owning model.
|
||||
*/
|
||||
bool ItemsDeleted(const wxDataViewItem& parent,
|
||||
virtual bool ItemsDeleted(const wxDataViewItem& parent,
|
||||
const wxDataViewItemArray& items);
|
||||
|
||||
/**
|
||||
|
@@ -157,8 +157,8 @@ public:
|
||||
|
||||
Sets the commands to start up the network and to hang up again.
|
||||
*/
|
||||
void SetConnectCommand(const wxString& commandDial = "/usr/bin/pon",
|
||||
const wxString& commandHangup = "/usr/bin/poff") const;
|
||||
virtual void SetConnectCommand(const wxString& commandDial = "/usr/bin/pon",
|
||||
const wxString& commandHangup = "/usr/bin/poff") = 0;
|
||||
|
||||
/**
|
||||
Sometimes the built-in logic for determining the online status may
|
||||
|
@@ -328,7 +328,7 @@ public:
|
||||
Return @true to accept the data, or @false to veto the operation.
|
||||
*/
|
||||
virtual bool OnDropFiles(wxCoord x, wxCoord y,
|
||||
const wxArrayString& filenames);
|
||||
const wxArrayString& filenames) = 0;
|
||||
};
|
||||
|
||||
|
||||
|
@@ -554,8 +554,9 @@ public:
|
||||
will have to choose from is sorted or not when shown the choice box
|
||||
dialog. Default is @false.
|
||||
*/
|
||||
wxDocTemplate* SelectDocumentType(wxDocTemplate** templates,
|
||||
int noTemplates, bool sort = false);
|
||||
virtual wxDocTemplate* SelectDocumentType(wxDocTemplate** templates,
|
||||
int noTemplates,
|
||||
bool sort = false);
|
||||
|
||||
/**
|
||||
Returns a document template by asking the user (if there is more than
|
||||
@@ -575,7 +576,7 @@ public:
|
||||
will have to choose from is sorted or not when shown the choice box
|
||||
dialog. Default is @false.
|
||||
*/
|
||||
wxDocTemplate* SelectViewType(wxDocTemplate** templates,
|
||||
virtual wxDocTemplate* SelectViewType(wxDocTemplate** templates,
|
||||
int noTemplates, bool sort = false);
|
||||
|
||||
/**
|
||||
|
@@ -443,7 +443,6 @@ public:
|
||||
@param location
|
||||
The absolute location of file.
|
||||
*/
|
||||
virtual wxFSFile* OpenFile(wxFileSystem& fs,
|
||||
const wxString& location);
|
||||
virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location) = 0;
|
||||
};
|
||||
|
||||
|
@@ -614,7 +614,7 @@ public:
|
||||
See @ref overview_refcount_equality "reference-counted object comparison" for
|
||||
more info.
|
||||
*/
|
||||
bool operator !=(const wxFont& font);
|
||||
bool operator!=(const wxFont& font) const;
|
||||
|
||||
/**
|
||||
Equality operator.
|
||||
@@ -622,7 +622,7 @@ public:
|
||||
See @ref overview_refcount_equality "reference-counted object comparison" for
|
||||
more info.
|
||||
*/
|
||||
bool operator ==(const wxFont& font);
|
||||
bool operator==(const wxFont& font) const;
|
||||
|
||||
/**
|
||||
Assignment operator, using @ref overview_refcount "reference counting".
|
||||
|
@@ -85,7 +85,7 @@ public:
|
||||
idea to call this function from the event handlers for repeatedly generated
|
||||
events such as @c EVT_PAINT.
|
||||
*/
|
||||
wxFontEncoding CharsetToEncoding(const wxString& charset,
|
||||
virtual wxFontEncoding CharsetToEncoding(const wxString& charset,
|
||||
bool interactive = true);
|
||||
|
||||
/**
|
||||
@@ -167,7 +167,7 @@ public:
|
||||
Check whether given encoding is available in given face or not.
|
||||
If no facename is given, find @e any font in this encoding.
|
||||
*/
|
||||
bool IsEncodingAvailable(wxFontEncoding encoding,
|
||||
virtual bool IsEncodingAvailable(wxFontEncoding encoding,
|
||||
const wxString& facename = wxEmptyString);
|
||||
|
||||
/**
|
||||
|
@@ -80,7 +80,7 @@ public:
|
||||
Adds a quadratic Bezier curve from the current point, using a control point and
|
||||
an end point.
|
||||
*/
|
||||
void AddQuadCurveToPoint(wxDouble cx, wxDouble cy, wxDouble x,
|
||||
virtual void AddQuadCurveToPoint(wxDouble cx, wxDouble cy, wxDouble x,
|
||||
wxDouble y);
|
||||
|
||||
/**
|
||||
@@ -347,8 +347,8 @@ public:
|
||||
Draws the bitmap. In case of a mono bitmap, this is treated as a mask and the
|
||||
current brushed is used for filling.
|
||||
*/
|
||||
void DrawBitmap(const wxBitmap& bmp, wxDouble x, wxDouble y,
|
||||
wxDouble w, wxDouble h);
|
||||
virtual void DrawBitmap(const wxBitmap& bmp, wxDouble x, wxDouble y,
|
||||
wxDouble w, wxDouble h) = 0;
|
||||
|
||||
/**
|
||||
Draws an ellipse.
|
||||
@@ -358,26 +358,25 @@ public:
|
||||
/**
|
||||
Draws the icon.
|
||||
*/
|
||||
void DrawIcon(const wxIcon& icon, wxDouble x, wxDouble y,
|
||||
wxDouble w, wxDouble h);
|
||||
virtual void DrawIcon(const wxIcon& icon, wxDouble x, wxDouble y,
|
||||
wxDouble w, wxDouble h) = 0;
|
||||
|
||||
/**
|
||||
Draws a polygon.
|
||||
*/
|
||||
void DrawLines(size_t n, const wxPoint2DDouble* points,
|
||||
virtual void DrawLines(size_t n, const wxPoint2DDouble* points,
|
||||
int fillStyle = wxODDEVEN_RULE);
|
||||
|
||||
/**
|
||||
Draws the path by first filling and then stroking.
|
||||
*/
|
||||
void DrawPath(const wxGraphicsPath& path,
|
||||
virtual void DrawPath(const wxGraphicsPath& path,
|
||||
int fillStyle = wxODDEVEN_RULE);
|
||||
|
||||
/**
|
||||
Draws a rectangle.
|
||||
*/
|
||||
void DrawRectangle(wxDouble x, wxDouble y, wxDouble w,
|
||||
wxDouble h);
|
||||
virtual void DrawRectangle(wxDouble x, wxDouble y, wxDouble w, wxDouble h);
|
||||
|
||||
/**
|
||||
Draws a rounded rectangle.
|
||||
@@ -397,8 +396,8 @@ public:
|
||||
/**
|
||||
Fills the path with the current brush.
|
||||
*/
|
||||
void FillPath(const wxGraphicsPath& path,
|
||||
int fillStyle = wxODDEVEN_RULE);
|
||||
virtual void FillPath(const wxGraphicsPath& path,
|
||||
int fillStyle = wxODDEVEN_RULE) = 0;
|
||||
|
||||
/**
|
||||
Returns the native context (CGContextRef for Core Graphics, Graphics pointer
|
||||
@@ -410,8 +409,8 @@ public:
|
||||
Fills the @a widths array with the widths from the beginning of
|
||||
@a text to the corresponding character of @e text.
|
||||
*/
|
||||
void GetPartialTextExtents(const wxString& text,
|
||||
wxArrayDouble& widths) const;
|
||||
virtual void GetPartialTextExtents(const wxString& text,
|
||||
wxArrayDouble& widths) const = 0;
|
||||
|
||||
/**
|
||||
Gets the dimensions of the string using the currently selected font.
|
||||
@@ -477,8 +476,7 @@ public:
|
||||
/**
|
||||
Strokes a single line.
|
||||
*/
|
||||
void StrokeLine(wxDouble x1, wxDouble y1, wxDouble x2,
|
||||
wxDouble y2);
|
||||
virtual void StrokeLine(wxDouble x1, wxDouble y1, wxDouble x2, wxDouble y2);
|
||||
|
||||
//@{
|
||||
/**
|
||||
|
@@ -486,8 +486,8 @@ public:
|
||||
/**
|
||||
Creates the actual edit control.
|
||||
*/
|
||||
void Create(wxWindow* parent, wxWindowID id,
|
||||
wxEvtHandler* evtHandler);
|
||||
virtual void Create(wxWindow* parent, wxWindowID id,
|
||||
wxEvtHandler* evtHandler) = 0;
|
||||
|
||||
/**
|
||||
Final cleanup.
|
||||
@@ -515,8 +515,7 @@ public:
|
||||
Draws the part of the cell not occupied by the control: the base class
|
||||
version just fills it with background colour from the attribute.
|
||||
*/
|
||||
void PaintBackground(const wxRect& rectCell,
|
||||
wxGridCellAttr* attr);
|
||||
virtual void PaintBackground(const wxRect& rectCell, wxGridCellAttr* attr);
|
||||
|
||||
/**
|
||||
Reset the value in the control back to its starting value.
|
||||
@@ -817,8 +816,8 @@ public:
|
||||
/**
|
||||
Get the preferred size of the cell for its contents.
|
||||
*/
|
||||
wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
|
||||
int row, int col);
|
||||
virtual wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
|
||||
int row, int col) = 0;
|
||||
};
|
||||
|
||||
|
||||
|
@@ -174,7 +174,7 @@ public:
|
||||
KeywordSearch() searches only pages listed in @c ".hhc" file(s).
|
||||
You should list all pages in the contents file.
|
||||
*/
|
||||
bool KeywordSearch(const wxString& keyword,
|
||||
virtual bool KeywordSearch(const wxString& keyword,
|
||||
wxHelpSearchMode mode = wxHELP_SEARCH_ALL);
|
||||
|
||||
/**
|
||||
|
@@ -217,8 +217,7 @@ public:
|
||||
Returned wxFSFile object is not guaranteed to point to url, it might have
|
||||
been redirected!
|
||||
*/
|
||||
virtual wxFSFile* OpenURL(wxHtmlURLType type,
|
||||
const wxString& url);
|
||||
virtual wxFSFile* OpenURL(wxHtmlURLType type, const wxString& url) const;
|
||||
|
||||
/**
|
||||
Proceeds parsing of the document. This is end-user method. You can simply
|
||||
|
@@ -956,7 +956,7 @@ public:
|
||||
@param index
|
||||
See the description in the LoadFile(wxInputStream&, wxBitmapType, int) overload.
|
||||
*/
|
||||
bool LoadFile(const wxString& name, const wxString& mimetype,
|
||||
virtual bool LoadFile(const wxString& name, const wxString& mimetype,
|
||||
int index = -1);
|
||||
|
||||
|
||||
@@ -1091,7 +1091,7 @@ public:
|
||||
|
||||
@see LoadFile()
|
||||
*/
|
||||
bool SaveFile(wxOutputStream& stream,
|
||||
virtual bool SaveFile(wxOutputStream& stream,
|
||||
const wxString& mimetype) const;
|
||||
|
||||
/**
|
||||
@@ -1124,8 +1124,7 @@ public:
|
||||
@param mimetype
|
||||
MIME type.
|
||||
*/
|
||||
bool SaveFile(const wxString& name,
|
||||
const wxString& mimetype) const;
|
||||
virtual bool SaveFile(const wxString& name, const wxString& mimetype) const;
|
||||
|
||||
/**
|
||||
Saves an image in the named file.
|
||||
|
@@ -520,7 +520,7 @@ public:
|
||||
@remarks Domains are searched in the last to first order, i.e. catalogs
|
||||
added later override those added before.
|
||||
*/
|
||||
const wxString& GetString(const wxString& origString,
|
||||
virtual const wxString& GetString(const wxString& origString,
|
||||
const wxString& domain = wxEmptyString) const;
|
||||
|
||||
/**
|
||||
|
@@ -38,7 +38,7 @@ public:
|
||||
logging them in the log frame (default), @false to only log them in the
|
||||
log frame.
|
||||
*/
|
||||
wxLogWindow(wxFrame parent, const wxChar title, bool show = true,
|
||||
wxLogWindow(wxWindow* pParent, const wxString& szTitle, bool show = true,
|
||||
bool passToOld = true);
|
||||
|
||||
/**
|
||||
@@ -692,8 +692,7 @@ public:
|
||||
corresponding to the log level and then calls
|
||||
DoLogString() with the resulting string.
|
||||
*/
|
||||
virtual void DoLog(wxLogLevel level, const wxString& msg,
|
||||
time_t timestamp);
|
||||
virtual void DoLog(wxLogLevel level, const wxString& msg, time_t timestamp);
|
||||
|
||||
/**
|
||||
Called to log the specified string. The timestamp is already included in the
|
||||
|
@@ -151,7 +151,7 @@ public:
|
||||
@remarks Any special menu codes are stripped out of source and target
|
||||
strings before matching.
|
||||
*/
|
||||
int FindMenuItem(const wxString& menuString,
|
||||
virtual int FindMenuItem(const wxString& menuString,
|
||||
const wxString& itemString) const;
|
||||
|
||||
/**
|
||||
|
@@ -123,7 +123,8 @@ public:
|
||||
|
||||
Please see the remarks in SetYesNoLabels() documentation.
|
||||
*/
|
||||
bool SetYesNoCancelLabels(const ButtonLabel& yes, const ButtonLabel& no,
|
||||
virtual bool SetYesNoCancelLabels(const ButtonLabel& yes,
|
||||
const ButtonLabel& no,
|
||||
const ButtonLabel& cancel);
|
||||
|
||||
/**
|
||||
|
@@ -189,7 +189,7 @@ public:
|
||||
|
||||
@remarks flags has the same meaning as with OnDrawItem().
|
||||
*/
|
||||
void OnDrawBackground(wxDC& dc, const wxRect& rect, int item,
|
||||
virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, int item,
|
||||
int flags) const;
|
||||
|
||||
/**
|
||||
@@ -209,7 +209,7 @@ public:
|
||||
@param flags
|
||||
A combination of the ::wxOwnerDrawnComboBoxPaintingFlags enumeration values.
|
||||
*/
|
||||
void OnDrawItem(wxDC& dc, const wxRect& rect, int item,
|
||||
virtual void OnDrawItem(wxDC& dc, const wxRect& rect, int item,
|
||||
int flags) const;
|
||||
|
||||
/**
|
||||
|
@@ -334,7 +334,7 @@ public:
|
||||
See @ref overview_refcount_equality "reference-counted object comparison" for
|
||||
more info.
|
||||
*/
|
||||
bool operator !=(const wxPen& pen);
|
||||
bool operator!=(const wxPen& pen) const;
|
||||
|
||||
/**
|
||||
Assignment operator, using @ref overview_refcount.
|
||||
@@ -347,7 +347,7 @@ public:
|
||||
See @ref overview_refcount_equality "reference-counted object comparison" for
|
||||
more info.
|
||||
*/
|
||||
bool operator ==(const wxPen& pen);
|
||||
bool operator==(const wxPen& pen) const;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@@ -411,7 +411,7 @@ public:
|
||||
context (current printer not set, for example) or the user cancelled printing.
|
||||
Call GetLastError() to get detailed information about the kind of the error.
|
||||
*/
|
||||
bool Print(wxWindow* parent, wxPrintout* printout,
|
||||
virtual bool Print(wxWindow* parent, wxPrintout* printout,
|
||||
bool prompt = true);
|
||||
|
||||
/**
|
||||
@@ -429,7 +429,7 @@ public:
|
||||
/**
|
||||
Default error-reporting function.
|
||||
*/
|
||||
void ReportError(wxWindow* parent, wxPrintout* printout,
|
||||
virtual void ReportError(wxWindow* parent, wxPrintout* printout,
|
||||
const wxString& message);
|
||||
|
||||
/**
|
||||
@@ -621,7 +621,7 @@ public:
|
||||
four integers.
|
||||
@endWxPythonOnly
|
||||
*/
|
||||
void GetPageInfo(int* minPage, int* maxPage, int* pageFrom,
|
||||
virtual void GetPageInfo(int* minPage, int* maxPage, int* pageFrom,
|
||||
int* pageTo);
|
||||
|
||||
/**
|
||||
|
@@ -328,7 +328,7 @@ public:
|
||||
see @ref wxCONTROL_FLAGS.
|
||||
*/
|
||||
virtual void DrawFocusRect(wxWindow* win, wxDC& dc, const wxRect& rect,
|
||||
int flags = 0);
|
||||
int flags = 0) = 0;
|
||||
|
||||
/**
|
||||
Draw the header control button (used, for example, by wxListCtrl).
|
||||
@@ -372,7 +372,7 @@ public:
|
||||
the @a win.
|
||||
*/
|
||||
virtual void DrawItemSelectionRect(wxWindow* win, wxDC& dc,
|
||||
const wxRect& rect, int flags = 0);
|
||||
const wxRect& rect, int flags = 0) = 0;
|
||||
|
||||
/**
|
||||
Draw a blank push button that looks very similar to wxButton.
|
||||
@@ -387,8 +387,8 @@ public:
|
||||
Draw the border for sash window: this border must be such that the sash
|
||||
drawn by DrawSplitterSash() blends into it well.
|
||||
*/
|
||||
virtual void DrawSplitterBorder(wxWindow* win, wxDC& dc,
|
||||
const wxRect& rect, int flags = 0);
|
||||
virtual void DrawSplitterBorder(wxWindow* win, wxDC& dc, const wxRect& rect,
|
||||
int flags = 0) = 0;
|
||||
|
||||
/**
|
||||
Draw a sash. The @a orient parameter defines whether the sash should be
|
||||
@@ -404,8 +404,8 @@ public:
|
||||
To draw an expanded button the @a flags parameter must contain @c wxCONTROL_EXPANDED bit,
|
||||
see @ref wxCONTROL_FLAGS.
|
||||
*/
|
||||
virtual void DrawTreeItemButton(wxWindow* win, wxDC& dc,
|
||||
const wxRect& rect, int flags = 0);
|
||||
virtual void DrawTreeItemButton(wxWindow* win, wxDC& dc, const wxRect& rect,
|
||||
int flags = 0) = 0;
|
||||
|
||||
/**
|
||||
Return the currently used renderer.
|
||||
|
@@ -576,7 +576,7 @@ public:
|
||||
to each filter. This can be used to determine the type to pass to LoadFile()
|
||||
given a selected filter.
|
||||
*/
|
||||
wxString GetExtWildcard(bool combine = false, bool save = false,
|
||||
static wxString GetExtWildcard(bool combine = false, bool save = false,
|
||||
wxArrayInt* types = NULL);
|
||||
|
||||
/**
|
||||
@@ -623,7 +623,7 @@ public:
|
||||
changed to bold because this is already specified by the paragraph.
|
||||
However the text colour attributes @e will be changed to show red.
|
||||
*/
|
||||
bool GetStyleForRange(const wxRichTextRange& range,
|
||||
virtual bool GetStyleForRange(const wxRichTextRange& range,
|
||||
wxTextAttr& style);
|
||||
|
||||
/**
|
||||
|
@@ -627,8 +627,7 @@ public:
|
||||
Helper function for extending the selection, returning @true if the selection
|
||||
was changed. Selections are in caret positions.
|
||||
*/
|
||||
bool ExtendSelection(long oldPosition, long newPosition,
|
||||
int flags);
|
||||
virtual bool ExtendSelection(long oldPosition, long newPosition, int flags);
|
||||
|
||||
/**
|
||||
Helper function for finding the caret position for the next word.
|
||||
@@ -779,7 +778,7 @@ public:
|
||||
Attributes that differ in value within the range will not be included
|
||||
in @a style flags.
|
||||
*/
|
||||
bool GetStyleForRange(const wxRichTextRange& range,
|
||||
virtual bool GetStyleForRange(const wxRichTextRange& range,
|
||||
wxTextAttr& style);
|
||||
|
||||
/**
|
||||
@@ -821,7 +820,7 @@ public:
|
||||
You can use this to implement, for example, bold button updating.
|
||||
@a style must have flags indicating which attributes are of interest.
|
||||
*/
|
||||
bool HasCharacterAttributes(const wxRichTextRange& range,
|
||||
virtual bool HasCharacterAttributes(const wxRichTextRange& range,
|
||||
const wxTextAttr& style) const;
|
||||
|
||||
/**
|
||||
@@ -830,7 +829,7 @@ public:
|
||||
You can use this to implement, for example, centering button updating.
|
||||
@a style must have flags indicating which attributes are of interest.
|
||||
*/
|
||||
bool HasParagraphAttributes(const wxRichTextRange& range,
|
||||
virtual bool HasParagraphAttributes(const wxRichTextRange& range,
|
||||
const wxTextAttr& style) const;
|
||||
|
||||
/**
|
||||
|
@@ -79,7 +79,7 @@ public:
|
||||
This is a static function that can be used to delete the saved locations
|
||||
from an earlier operation, for example after the user has viewed the HTML file.
|
||||
*/
|
||||
bool DeleteTemporaryImages(int flags,
|
||||
static bool DeleteTemporaryImages(int flags,
|
||||
const wxArrayString& imageLocations);
|
||||
|
||||
/**
|
||||
|
@@ -211,7 +211,7 @@ public:
|
||||
/**
|
||||
Gets the page information.
|
||||
*/
|
||||
void GetPageInfo(int* minPage, int* maxPage, int* selPageFrom,
|
||||
virtual void GetPageInfo(int* minPage, int* maxPage, int* selPageFrom,
|
||||
int* selPageTo);
|
||||
|
||||
/**
|
||||
|
@@ -480,7 +480,7 @@ public:
|
||||
included in the result.
|
||||
*/
|
||||
wxTextAttr GetCombinedStyle(int indent,
|
||||
wxRichTextStyleSheet* styleSheet = NULL) const;
|
||||
wxRichTextStyleSheet* styleSheet = NULL);
|
||||
|
||||
/**
|
||||
This function combines the list style's base attributes and the style for the
|
||||
|
@@ -1418,7 +1418,7 @@ public:
|
||||
|
||||
Returns @true if the child item was found and removed, @false otherwise.
|
||||
*/
|
||||
bool Replace(wxWindow* oldwin, wxWindow* newwin,
|
||||
virtual bool Replace(wxWindow* oldwin, wxWindow* newwin,
|
||||
bool recursive = false);
|
||||
|
||||
/**
|
||||
@@ -1433,7 +1433,7 @@ public:
|
||||
|
||||
Returns @true if the child item was found and removed, @false otherwise.
|
||||
*/
|
||||
bool Replace(wxSizer* oldsz, wxSizer* newsz,
|
||||
virtual bool Replace(wxSizer* oldsz, wxSizer* newsz,
|
||||
bool recursive = false);
|
||||
|
||||
/**
|
||||
|
@@ -330,7 +330,7 @@ public:
|
||||
|
||||
@see SplitVertically(), IsSplit(), Unsplit()
|
||||
*/
|
||||
bool SplitHorizontally(wxWindow* window1, wxWindow* window2,
|
||||
virtual bool SplitHorizontally(wxWindow* window1, wxWindow* window2,
|
||||
int sashPosition = 0);
|
||||
|
||||
/**
|
||||
@@ -357,7 +357,7 @@ public:
|
||||
|
||||
@see SplitHorizontally(), IsSplit(), Unsplit().
|
||||
*/
|
||||
bool SplitVertically(wxWindow* window1, wxWindow* window2,
|
||||
virtual bool SplitVertically(wxWindow* window1, wxWindow* window2,
|
||||
int sashPosition = 0);
|
||||
|
||||
/**
|
||||
|
@@ -144,7 +144,7 @@ public:
|
||||
Return @true if at least some values could be retrieved.
|
||||
This function currently is only implemented under Win32 and requires a PDB file.
|
||||
*/
|
||||
bool GetParam(size_t n, wxString* type, wxString* name,
|
||||
virtual bool GetParam(size_t n, wxString* type, wxString* name,
|
||||
wxString* value) const;
|
||||
|
||||
/**
|
||||
|
@@ -1227,7 +1227,7 @@ public:
|
||||
/**
|
||||
Same as Mid() (substring extraction).
|
||||
*/
|
||||
wxString operator ()(size_t start, size_t len);
|
||||
wxString operator()(size_t start, size_t len) const;
|
||||
|
||||
//@{
|
||||
/**
|
||||
|
@@ -269,7 +269,7 @@ public:
|
||||
@true if operation succeeded, @false if it failed.
|
||||
*/
|
||||
bool Write(wxTextFileType typeNew = wxTextFileType_None,
|
||||
const wxMBConv& conv = wxConvAuto()) const;
|
||||
const wxMBConv& conv = wxConvAuto());
|
||||
|
||||
/**
|
||||
The same as GetLine().
|
||||
|
@@ -350,7 +350,7 @@ public:
|
||||
None.
|
||||
@endWxPythonOnly
|
||||
*/
|
||||
bool GetBoundingRect(const wxTreeItemId& item, wxRect& rect,
|
||||
virtual bool GetBoundingRect(const wxTreeItemId& item, wxRect& rect,
|
||||
bool textOnly = false) const;
|
||||
|
||||
/**
|
||||
@@ -401,7 +401,7 @@ public:
|
||||
|
||||
@see GetNextChild(), GetNextSibling()
|
||||
*/
|
||||
wxTreeItemId GetFirstChild(const wxTreeItemId& item,
|
||||
virtual wxTreeItemId GetFirstChild(const wxTreeItemId& item,
|
||||
wxTreeItemIdValue& cookie) const;
|
||||
|
||||
/**
|
||||
@@ -454,7 +454,7 @@ public:
|
||||
- ::wxTreeItemIcon_SelectedExpanded: to get the selected expanded image
|
||||
(which is shown when an expanded item is currently selected).
|
||||
*/
|
||||
int GetItemImage(const wxTreeItemId& item,
|
||||
virtual int GetItemImage(const wxTreeItemId& item,
|
||||
wxTreeItemIcon which = wxTreeItemIcon_Normal) const;
|
||||
|
||||
/**
|
||||
@@ -509,7 +509,7 @@ public:
|
||||
|
||||
@see GetFirstChild()
|
||||
*/
|
||||
wxTreeItemId GetNextChild(const wxTreeItemId& item,
|
||||
virtual wxTreeItemId GetNextChild(const wxTreeItemId& item,
|
||||
wxTreeItemIdValue& cookie) const;
|
||||
|
||||
/**
|
||||
@@ -699,7 +699,7 @@ public:
|
||||
|
||||
@see SortChildren()
|
||||
*/
|
||||
int OnCompareItems(const wxTreeItemId& item1,
|
||||
virtual int OnCompareItems(const wxTreeItemId& item1,
|
||||
const wxTreeItemId& item2);
|
||||
|
||||
/**
|
||||
@@ -761,7 +761,7 @@ public:
|
||||
/**
|
||||
Sets the colour of the item's background.
|
||||
*/
|
||||
void SetItemBackgroundColour(const wxTreeItemId& item,
|
||||
virtual void SetItemBackgroundColour(const wxTreeItemId& item,
|
||||
const wxColour& col);
|
||||
|
||||
/**
|
||||
@@ -790,7 +790,7 @@ public:
|
||||
(as opposed to a DnD operation within the tree control, which already
|
||||
is implemented internally).
|
||||
*/
|
||||
void SetItemDropHighlight(const wxTreeItemId& item,
|
||||
virtual void SetItemDropHighlight(const wxTreeItemId& item,
|
||||
bool highlight = true);
|
||||
|
||||
/**
|
||||
@@ -808,14 +808,14 @@ public:
|
||||
but instead adding them only when needed, thus minimizing memory
|
||||
usage and loading time.
|
||||
*/
|
||||
void SetItemHasChildren(const wxTreeItemId& item,
|
||||
virtual void SetItemHasChildren(const wxTreeItemId& item,
|
||||
bool hasChildren = true);
|
||||
|
||||
/**
|
||||
Sets the specified item's image. See GetItemImage() for the description
|
||||
of the @a which parameter.
|
||||
*/
|
||||
void SetItemImage(const wxTreeItemId& item, int image,
|
||||
virtual void SetItemImage(const wxTreeItemId& item, int image,
|
||||
wxTreeItemIcon which = wxTreeItemIcon_Normal);
|
||||
|
||||
/**
|
||||
@@ -842,7 +842,7 @@ public:
|
||||
/**
|
||||
Sets the colour of the item's text.
|
||||
*/
|
||||
void SetItemTextColour(const wxTreeItemId& item,
|
||||
virtual void SetItemTextColour(const wxTreeItemId& item,
|
||||
const wxColour& col);
|
||||
|
||||
/**
|
||||
|
@@ -1809,7 +1809,7 @@ public:
|
||||
|
||||
@see UnregisterHotKey()
|
||||
*/
|
||||
bool RegisterHotKey(int hotkeyId, int modifiers,
|
||||
virtual bool RegisterHotKey(int hotkeyId, int modifiers,
|
||||
int virtualKeyCode);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user