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
@see wxDataViewItemAttr.
*/
- bool GetAttr(const wxDataViewItem& item, unsigned int col,
- wxDataViewItemAttr& attr);
+ virtual bool GetAttr(const wxDataViewItem& item, unsigned int col,
+ wxDataViewItemAttr& attr);
/**
Override this so the control can query the child items of an item.
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.
@see wxDataViewItemAttr.
*/
- bool GetAttr(unsigned int row, unsigned int col,
- wxDataViewItemAttr& attr);
+ virtual bool GetAttr(unsigned int row, unsigned int col,
+ wxDataViewItemAttr& attr);
/**
Returns the wxDataViewItem at the given @e row.
/**
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.
/**
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;
};
/**
Call this to ensure that the given item is visible.
*/
- void EnsureVisible(const wxDataViewItem& item,
- const wxDataViewColumn* column = NULL);
+ virtual void EnsureVisible(const wxDataViewItem& item,
+ const wxDataViewColumn* column = NULL);
/**
Expands the item.
/**
Returns item rect.
*/
- wxRect GetItemRect(const wxDataViewItem& item,
- const wxDataViewColumn* col = NULL) const;
+ virtual wxRect GetItemRect(const wxDataViewItem& item,
+ const wxDataViewColumn* col = NULL) const;
/**
Returns pointer to the data model associated with the control (if any).
/**
Hittest.
*/
- void HitTest(const wxPoint& point, wxDataViewItem& item,
- wxDataViewColumn*& col) const;
+ virtual void HitTest(const wxPoint& point, wxDataViewItem& item,
+ wxDataViewColumn*& col) const;
/**
Return @true if the item is selected.
/**
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.
/**
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,
- const wxDataViewItemArray& items);
+ virtual bool ItemsAdded(const wxDataViewItem& parent,
+ const wxDataViewItemArray& items);
/**
Called by owning model.
/**
Called by owning model.
*/
- bool ItemsDeleted(const wxDataViewItem& parent,
- const wxDataViewItemArray& items);
+ virtual bool ItemsDeleted(const wxDataViewItem& parent,
+ const wxDataViewItemArray& items);
/**
Called by owning model.
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
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;
};
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
will have to choose from is sorted or not when shown the choice box
dialog. Default is @false.
*/
- wxDocTemplate* SelectViewType(wxDocTemplate** templates,
- int noTemplates, bool sort = false);
+ virtual wxDocTemplate* SelectViewType(wxDocTemplate** templates,
+ int noTemplates, bool sort = false);
/**
Sets the directory to be displayed to the user when opening a file.
@param location
The absolute location of file.
*/
- virtual wxFSFile* OpenFile(wxFileSystem& fs,
- const wxString& location);
+ virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location) = 0;
};
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.
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".
idea to call this function from the event handlers for repeatedly generated
events such as @c EVT_PAINT.
*/
- wxFontEncoding CharsetToEncoding(const wxString& charset,
- bool interactive = true);
+ virtual wxFontEncoding CharsetToEncoding(const wxString& charset,
+ bool interactive = true);
/**
Get the current font mapper object. If there is no current object, creates one.
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,
- const wxString& facename = wxEmptyString);
+ virtual bool IsEncodingAvailable(wxFontEncoding encoding,
+ const wxString& facename = wxEmptyString);
/**
Set the current font mapper object and return previous one (may be @NULL).
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,
- wxDouble y);
+ virtual void AddQuadCurveToPoint(wxDouble cx, wxDouble cy, wxDouble x,
+ wxDouble y);
/**
Appends a rectangle as a new closed subpath.
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.
/**
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,
- int fillStyle = wxODDEVEN_RULE);
+ 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,
- int fillStyle = wxODDEVEN_RULE);
+ 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.
/**
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
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.
/**
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);
//@{
/**
/**
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.
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.
/**
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;
};
KeywordSearch() searches only pages listed in @c ".hhc" file(s).
You should list all pages in the contents file.
*/
- bool KeywordSearch(const wxString& keyword,
- wxHelpSearchMode mode = wxHELP_SEARCH_ALL);
+ virtual bool KeywordSearch(const wxString& keyword,
+ wxHelpSearchMode mode = wxHELP_SEARCH_ALL);
/**
Reads the controller's setting (position of window, etc.)
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
@param index
See the description in the LoadFile(wxInputStream&, wxBitmapType, int) overload.
*/
- bool LoadFile(const wxString& name, const wxString& mimetype,
- int index = -1);
+ virtual bool LoadFile(const wxString& name, const wxString& mimetype,
+ int index = -1);
/**
@see LoadFile()
*/
- bool SaveFile(wxOutputStream& stream,
- const wxString& mimetype) const;
+ virtual bool SaveFile(wxOutputStream& stream,
+ const wxString& mimetype) const;
/**
Saves an image in the named file.
@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.
@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,
- const wxString& domain = wxEmptyString) const;
+ virtual const wxString& GetString(const wxString& origString,
+ const wxString& domain = wxEmptyString) const;
/**
Retrieves the translation for a string in all loaded domains unless the @a domain
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);
/**
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
@remarks Any special menu codes are stripped out of source and target
strings before matching.
*/
- int FindMenuItem(const wxString& menuString,
- const wxString& itemString) const;
+ virtual int FindMenuItem(const wxString& menuString,
+ const wxString& itemString) const;
/**
Gets the help string associated with the menu item identifier.
Please see the remarks in SetYesNoLabels() documentation.
*/
- bool SetYesNoCancelLabels(const ButtonLabel& yes, const ButtonLabel& no,
- const ButtonLabel& cancel);
+ virtual bool SetYesNoCancelLabels(const ButtonLabel& yes,
+ const ButtonLabel& no,
+ const ButtonLabel& cancel);
/**
Overrides the default labels of the Yes and No buttons.
@remarks flags has the same meaning as with OnDrawItem().
*/
- void OnDrawBackground(wxDC& dc, const wxRect& rect, int item,
- int flags) const;
+ virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, int item,
+ int flags) const;
/**
The derived class may implement this function to actually draw the item
@param flags
A combination of the ::wxOwnerDrawnComboBoxPaintingFlags enumeration values.
*/
- void OnDrawItem(wxDC& dc, const wxRect& rect, int item,
- int flags) const;
+ virtual void OnDrawItem(wxDC& dc, const wxRect& rect, int item,
+ int flags) const;
/**
The derived class may implement this method to return the height of the
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.
See @ref overview_refcount_equality "reference-counted object comparison" for
more info.
*/
- bool operator ==(const wxPen& pen);
+ bool operator==(const wxPen& pen) const;
};
/**
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,
- bool prompt = true);
+ virtual bool Print(wxWindow* parent, wxPrintout* printout,
+ bool prompt = true);
/**
Invokes the print dialog.
/**
Default error-reporting function.
*/
- void ReportError(wxWindow* parent, wxPrintout* printout,
- const wxString& message);
+ virtual void ReportError(wxWindow* parent, wxPrintout* printout,
+ const wxString& message);
/**
Invokes the print setup dialog.
four integers.
@endWxPythonOnly
*/
- void GetPageInfo(int* minPage, int* maxPage, int* pageFrom,
- int* pageTo);
+ virtual void GetPageInfo(int* minPage, int* maxPage, int* pageFrom,
+ int* pageTo);
/**
Returns the size of the printer page in millimetres.
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).
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.
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
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.
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,
- wxArrayInt* types = NULL);
+ static wxString GetExtWildcard(bool combine = false, bool save = false,
+ wxArrayInt* types = NULL);
/**
Returns the list of file handlers.
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,
- wxTextAttr& style);
+ virtual bool GetStyleForRange(const wxRichTextRange& range,
+ wxTextAttr& style);
/**
Returns the current style sheet associated with the buffer, if any.
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.
Attributes that differ in value within the range will not be included
in @a style flags.
*/
- bool GetStyleForRange(const wxRichTextRange& range,
- wxTextAttr& style);
+ virtual bool GetStyleForRange(const wxRichTextRange& range,
+ wxTextAttr& style);
/**
Returns the style sheet associated with the control, if any.
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,
- const wxTextAttr& style) const;
+ virtual bool HasCharacterAttributes(const wxRichTextRange& range,
+ const wxTextAttr& style) const;
/**
Test if this whole range has paragraph attributes of the specified kind.
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,
- const wxTextAttr& style) const;
+ virtual bool HasParagraphAttributes(const wxRichTextRange& range,
+ const wxTextAttr& style) const;
/**
Returns @true if there is a selection.
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,
- const wxArrayString& imageLocations);
+ static bool DeleteTemporaryImages(int flags,
+ const wxArrayString& imageLocations);
/**
Saves the buffer content to the HTML stream.
/**
Gets the page information.
*/
- void GetPageInfo(int* minPage, int* maxPage, int* selPageFrom,
- int* selPageTo);
+ virtual void GetPageInfo(int* minPage, int* maxPage, int* selPageFrom,
+ int* selPageTo);
/**
Returns a pointer to the buffer being rendered.
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
Returns @true if the child item was found and removed, @false otherwise.
*/
- bool Replace(wxWindow* oldwin, wxWindow* newwin,
- bool recursive = false);
+ virtual bool Replace(wxWindow* oldwin, wxWindow* newwin,
+ bool recursive = false);
/**
Detaches the given @a oldsz from the sizer and replaces it with the
Returns @true if the child item was found and removed, @false otherwise.
*/
- bool Replace(wxSizer* oldsz, wxSizer* newsz,
- bool recursive = false);
+ virtual bool Replace(wxSizer* oldsz, wxSizer* newsz,
+ bool recursive = false);
/**
Detaches the given item at position @a index from the sizer and
@see SplitVertically(), IsSplit(), Unsplit()
*/
- bool SplitHorizontally(wxWindow* window1, wxWindow* window2,
- int sashPosition = 0);
+ virtual bool SplitHorizontally(wxWindow* window1, wxWindow* window2,
+ int sashPosition = 0);
/**
Initializes the left and right panes of the splitter window.
@see SplitHorizontally(), IsSplit(), Unsplit().
*/
- bool SplitVertically(wxWindow* window1, wxWindow* window2,
- int sashPosition = 0);
+ virtual bool SplitVertically(wxWindow* window1, wxWindow* window2,
+ int sashPosition = 0);
/**
Unsplits the window.
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,
- wxString* value) const;
+ virtual bool GetParam(size_t n, wxString* type, wxString* name,
+ wxString* value) const;
/**
Return the number of parameters of this function (may return 0 if we
/**
Same as Mid() (substring extraction).
*/
- wxString operator ()(size_t start, size_t len);
+ wxString operator()(size_t start, size_t len) const;
//@{
/**
@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().
None.
@endWxPythonOnly
*/
- bool GetBoundingRect(const wxTreeItemId& item, wxRect& rect,
- bool textOnly = false) const;
+ virtual bool GetBoundingRect(const wxTreeItemId& item, wxRect& rect,
+ bool textOnly = false) const;
/**
Returns the buttons image list (from which application-defined button
@see GetNextChild(), GetNextSibling()
*/
- wxTreeItemId GetFirstChild(const wxTreeItemId& item,
- wxTreeItemIdValue& cookie) const;
+ virtual wxTreeItemId GetFirstChild(const wxTreeItemId& item,
+ wxTreeItemIdValue& cookie) const;
/**
Returns the first visible item.
- ::wxTreeItemIcon_SelectedExpanded: to get the selected expanded image
(which is shown when an expanded item is currently selected).
*/
- int GetItemImage(const wxTreeItemId& item,
- wxTreeItemIcon which = wxTreeItemIcon_Normal) const;
+ virtual int GetItemImage(const wxTreeItemId& item,
+ wxTreeItemIcon which = wxTreeItemIcon_Normal) const;
/**
Returns the item's parent.
@see GetFirstChild()
*/
- wxTreeItemId GetNextChild(const wxTreeItemId& item,
- wxTreeItemIdValue& cookie) const;
+ virtual wxTreeItemId GetNextChild(const wxTreeItemId& item,
+ wxTreeItemIdValue& cookie) const;
/**
Returns the next sibling of the specified item; call GetPrevSibling()
@see SortChildren()
*/
- int OnCompareItems(const wxTreeItemId& item1,
- const wxTreeItemId& item2);
+ virtual int OnCompareItems(const wxTreeItemId& item1,
+ const wxTreeItemId& item2);
/**
Appends an item as the first child of @a parent, return a new item id.
/**
Sets the colour of the item's background.
*/
- void SetItemBackgroundColour(const wxTreeItemId& item,
- const wxColour& col);
+ virtual void SetItemBackgroundColour(const wxTreeItemId& item,
+ const wxColour& col);
/**
Makes item appear in bold font if @a bold parameter is @true or resets
(as opposed to a DnD operation within the tree control, which already
is implemented internally).
*/
- void SetItemDropHighlight(const wxTreeItemId& item,
- bool highlight = true);
+ virtual void SetItemDropHighlight(const wxTreeItemId& item,
+ bool highlight = true);
/**
Sets the item's font. All items in the tree should have the same height
but instead adding them only when needed, thus minimizing memory
usage and loading time.
*/
- void SetItemHasChildren(const wxTreeItemId& item,
- bool hasChildren = true);
+ 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,
- wxTreeItemIcon which = wxTreeItemIcon_Normal);
+ virtual void SetItemImage(const wxTreeItemId& item, int image,
+ wxTreeItemIcon which = wxTreeItemIcon_Normal);
/**
Sets the selected item image (this function is obsolete, use @ref
/**
Sets the colour of the item's text.
*/
- void SetItemTextColour(const wxTreeItemId& item,
- const wxColour& col);
+ virtual void SetItemTextColour(const wxTreeItemId& item,
+ const wxColour& col);
/**
If @true is passed, specifies that the control will use a quick
@see UnregisterHotKey()
*/
- bool RegisterHotKey(int hotkeyId, int modifiers,
- int virtualKeyCode);
+ virtual bool RegisterHotKey(int hotkeyId, int modifiers,
+ int virtualKeyCode);
/**
Releases mouse input captured with CaptureMouse().