virtual/static attributes automated fixes by ifacecheck

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi 2008-10-13 11:09:56 +00:00
parent d8231db24d
commit 0004982c83
34 changed files with 133 additions and 132 deletions

View File

@ -492,7 +492,7 @@ public:
/**
Returns @true if bitmap data is present.
*/
bool IsOk() const;
virtual bool IsOk() const;
/**
Loads a bitmap from a file or resource.

View File

@ -165,7 +165,7 @@ public:
constructor has been used (for example, the brush is a member of a class, or
@NULL has been assigned to it).
*/
bool IsOk() const;
virtual bool IsOk() const;
//@{
/**

View File

@ -128,7 +128,7 @@ public:
Returns @true if the colour object is valid (the colour has been initialised
with RGB values).
*/
bool IsOk() const;
virtual bool IsOk() const;
/**
Returns the red intensity.

View File

@ -179,42 +179,42 @@ public:
Returns @true if the combobox is editable and there is a text selection
to copy to the clipboard. Only available on Windows.
*/
bool CanCopy() const;
virtual bool CanCopy() const;
/**
Returns @true if the combobox is editable and there is a text selection
to copy to the clipboard. Only available on Windows.
*/
bool CanCut() const;
virtual bool CanCut() const;
/**
Returns @true if the combobox is editable and there is text on the
clipboard that can be pasted into the text field. Only available on
Windows.
*/
bool CanPaste() const;
virtual bool CanPaste() const;
/**
Returns @true if the combobox is editable and the last undo can be
redone. Only available on Windows.
*/
bool CanRedo() const;
virtual bool CanRedo() const;
/**
Returns @true if the combobox is editable and the last edit can be
undone. Only available on Windows.
*/
bool CanUndo() const;
virtual bool CanUndo() const;
/**
Copies the selected text to the clipboard.
*/
void Copy();
virtual void Copy();
/**
Copies the selected text to the clipboard and removes the selection.
*/
void Cut();
virtual void Cut();
/**
This function does the same things as wxChoice::GetCurrentSelection()
@ -229,7 +229,7 @@ public:
@note Under wxMSW, this function always returns 0 if the combobox
doesn't have the focus.
*/
long GetInsertionPoint() const;
virtual long GetInsertionPoint() const;
/**
Returns the last position in the combobox text field.
@ -248,17 +248,17 @@ public:
/**
Returns the current value in the combobox text field.
*/
wxString GetValue() const;
virtual wxString GetValue() const;
/**
Pastes text from the clipboard to the text field.
*/
void Paste();
virtual void Paste();
/**
Redoes the last undo in the text field. Windows only.
*/
void Redo();
virtual void Redo();
/**
Removes the text between the two positions in the combobox text field.
@ -268,7 +268,7 @@ public:
@param to
The last position.
*/
void Remove(long from, long to);
virtual void Remove(long from, long to);
/**
Replaces the text between two positions with the given text, in the
@ -281,7 +281,7 @@ public:
@param text
The text to insert.
*/
void Replace(long from, long to, const wxString& text);
virtual void Replace(long from, long to, const wxString& text);
/**
Sets the insertion point in the combobox text field.
@ -289,12 +289,12 @@ public:
@param pos
The new insertion point.
*/
void SetInsertionPoint(long pos);
virtual void SetInsertionPoint(long pos);
/**
Sets the insertion point at the end of the combobox text field.
*/
void SetInsertionPointEnd();
virtual void SetInsertionPointEnd();
/**
Selects the text between the two positions, in the combobox text field.
@ -321,11 +321,11 @@ public:
@param text
The text to set.
*/
void SetValue(const wxString& text);
virtual void SetValue(const wxString& text);
/**
Undoes the last edit in the text field. Windows only.
*/
void Undo();
virtual void Undo();
};

View File

@ -206,7 +206,7 @@ public:
/**
Returns @true if cursor data is present.
*/
bool IsOk() const;
virtual bool IsOk() const;
/**
Assignment operator, using @ref overview_refcount "reference counting".

View File

@ -96,27 +96,27 @@ public:
Convert device X coordinate to logical coordinate, using the current
mapping mode.
*/
wxCoord DeviceToLogicalX(wxCoord x);
wxCoord DeviceToLogicalX(wxCoord x) const;
/**
Convert device X coordinate to relative logical coordinate, using the
current mapping mode but ignoring the x axis orientation. Use this
function for converting a width, for example.
*/
wxCoord DeviceToLogicalXRel(wxCoord x);
wxCoord DeviceToLogicalXRel(wxCoord x) const;
/**
Converts device Y coordinate to logical coordinate, using the current
mapping mode.
*/
wxCoord DeviceToLogicalY(wxCoord y);
wxCoord DeviceToLogicalY(wxCoord y) const;
/**
Convert device Y coordinate to relative logical coordinate, using the
current mapping mode but ignoring the y axis orientation. Use this
function for converting a height, for example.
*/
wxCoord DeviceToLogicalYRel(wxCoord y);
wxCoord DeviceToLogicalYRel(wxCoord y) const;
/**
Draws an arc of a circle, centred on (@a xc, @a yc), with starting
@ -352,12 +352,12 @@ public:
/**
Gets the character height of the currently set font.
*/
wxCoord GetCharHeight();
wxCoord GetCharHeight() const;
/**
Gets the average character width of the currently set font.
*/
wxCoord GetCharWidth();
wxCoord GetCharWidth() const;
/**
Not implemented.
@ -379,14 +379,14 @@ public:
@see SetLogicalFunction()
*/
int GetLogicalFunction();
int GetLogicalFunction() const;
/**
Gets the mapping mode for the device context.
@see SetMapMode()
*/
int GetMapMode();
int GetMapMode() const;
//@{
/**
@ -401,7 +401,7 @@ public:
/**
Not implemented.
*/
bool GetPixel(wxCoord x, wxCoord y, wxColour* colour);
bool GetPixel(wxCoord x, wxCoord y, wxColour* colour) const;
/**
For a Windows printer device context, this gets the horizontal and
@ -467,47 +467,47 @@ public:
Converts logical X coordinate to device coordinate, using the current
mapping mode.
*/
wxCoord LogicalToDeviceX(wxCoord x);
wxCoord LogicalToDeviceX(wxCoord x) const;
/**
Converts logical X coordinate to relative device coordinate, using the
current mapping mode but ignoring the x axis orientation. Use this for
converting a width, for example.
*/
wxCoord LogicalToDeviceXRel(wxCoord x);
wxCoord LogicalToDeviceXRel(wxCoord x) const;
/**
Converts logical Y coordinate to device coordinate, using the current
mapping mode.
*/
wxCoord LogicalToDeviceY(wxCoord y);
wxCoord LogicalToDeviceY(wxCoord y) const;
/**
Converts logical Y coordinate to relative device coordinate, using the
current mapping mode but ignoring the y axis orientation. Use this for
converting a height, for example.
*/
wxCoord LogicalToDeviceYRel(wxCoord y);
wxCoord LogicalToDeviceYRel(wxCoord y) const;
/**
Gets the maximum horizontal extent used in drawing commands so far.
*/
wxCoord MaxX();
wxCoord MaxX() const;
/**
Gets the maximum vertical extent used in drawing commands so far.
*/
wxCoord MaxY();
wxCoord MaxY() const;
/**
Gets the minimum horizontal extent used in drawing commands so far.
*/
wxCoord MinX();
wxCoord MinX() const;
/**
Gets the minimum vertical extent used in drawing commands so far.
*/
wxCoord MinY();
wxCoord MinY() const;
/**
Returns @true if the DC is ok to use. @false values arise from being

View File

@ -385,7 +385,7 @@ public:
@remarks Always returns @false under Windows since dialogs cannot be
iconized.
*/
bool IsIconized() const;
virtual bool IsIconized() const;
/**
A static function returning @true if layout adaptation is enabled for

View File

@ -391,7 +391,7 @@ public:
@note the anchor is NOT part of the left location.
*/
wxString GetAnchor(const wxString& location) const;
static wxString GetAnchor(const wxString& location);
/**
Returns the left location string extracted from @e location.
@ -401,7 +401,7 @@ public:
GetLeftLocation("file:myzipfile.zip#zip:index.htm") == "file:myzipfile.zip"
@endcode
*/
wxString GetLeftLocation(const wxString& location) const;
static wxString GetLeftLocation(const wxString& location);
/**
Returns the MIME type based on @b extension of @a location.
@ -423,7 +423,7 @@ public:
GetProtocol("file:myzipfile.zip#zip:index.htm") == "zip"
@endcode
*/
wxString GetProtocol(const wxString& location) const;
static wxString GetProtocol(const wxString& location);
/**
Returns the right location string extracted from @a location.
@ -433,7 +433,7 @@ public:
GetRightLocation("file:myzipfile.zip#zip:index.htm") == "index.htm"
@endcode
*/
wxString GetRightLocation(const wxString& location) const;
static wxString GetRightLocation(const wxString& location);
/**
Opens the file and returns wxFSFile pointer or @NULL if failed.

View File

@ -462,7 +462,7 @@ public:
/**
Returns @true if this object is a valid font, @false otherwise.
*/
bool IsOk() const;
virtual bool IsOk() const;
//@{
/**

View File

@ -470,7 +470,7 @@ public:
/**
The dtor is private because only DecRef() can delete us.
*/
~wxGridCellEditor();
virtual ~wxGridCellEditor();
/**
Fetch the value from the table and prepare the edit control
@ -723,12 +723,12 @@ public:
/**
Returns @true if the Alt key was down at the time of the event.
*/
bool AltDown();
bool AltDown() const;
/**
Returns @true if the Control key was down at the time of the event.
*/
bool ControlDown();
bool ControlDown() const;
/**
Top left corner of the rectangular area that was (de)selected.
@ -763,7 +763,7 @@ public:
/**
Returns @true if the Meta key was down at the time of the event.
*/
bool MetaDown();
bool MetaDown() const;
/**
Returns @true if the area was selected, @false otherwise.
@ -773,7 +773,7 @@ public:
/**
Returns @true if the Shift key was down at the time of the event.
*/
bool ShiftDown();
bool ShiftDown() const;
};
@ -891,12 +891,12 @@ public:
/**
Returns @true if the Alt key was down at the time of the event.
*/
bool AltDown();
bool AltDown() const;
/**
Returns @true if the Control key was down at the time of the event.
*/
bool ControlDown();
bool ControlDown() const;
/**
Position in pixels at which the event occurred.
@ -911,12 +911,12 @@ public:
/**
Returns @true if the Meta key was down at the time of the event.
*/
bool MetaDown();
bool MetaDown() const;
/**
Returns @true if the Shift key was down at the time of the event.
*/
bool ShiftDown();
bool ShiftDown() const;
};
@ -1146,12 +1146,12 @@ public:
/**
Returns @true if the Alt key was down at the time of the event.
*/
bool AltDown();
bool AltDown() const;
/**
Returns @true if the Control key was down at the time of the event.
*/
bool ControlDown();
bool ControlDown() const;
/**
Column at which the event occurred.
@ -1171,7 +1171,7 @@ public:
/**
Returns @true if the Meta key was down at the time of the event.
*/
bool MetaDown();
bool MetaDown() const;
/**
Returns @true if the user is selecting grid cells, @false -- if
@ -1182,7 +1182,7 @@ public:
/**
Returns @true if the Shift key was down at the time of the event.
*/
bool ShiftDown();
bool ShiftDown() const;
};

View File

@ -106,7 +106,7 @@ public:
First it finds a handler capable of handling this tag and then it calls
handler's HandleTag method.
*/
void AddTag(const wxHtmlTag& tag);
virtual void AddTag(const wxHtmlTag& tag);
/**
Adds handler to the internal list ( hash table) of handlers. This

View File

@ -79,7 +79,7 @@ public:
@see GetSelectedTextColour()
*/
wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
/**
This virtual function may be overridden to customize the appearance of the
@ -91,7 +91,7 @@ public:
@see GetSelectedTextBgColour(),
wxVListBox::SetSelectionBackground, wxSystemSettings::GetColour
*/
wxColour GetSelectedTextColour(const wxColour& colFg) const;
virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
/**
This method must be implemented in the derived class and should return
@ -111,7 +111,7 @@ public:
This function may be overridden to decorate HTML returned by
OnGetItem().
*/
wxString OnGetItemMarkup(size_t n) const;
virtual wxString OnGetItemMarkup(size_t n) const;
/**
Called when the user clicks on hypertext link. Does nothing by default.

View File

@ -213,7 +213,7 @@ public:
/**
Returns @true if icon data is present.
*/
bool IsOk() const;
virtual bool IsOk() const;
/**
Loads an icon from a file or resource.

View File

@ -34,7 +34,7 @@
Place labels below the page area.
@endStyleTable
@beginEventTable{wxListbookEvent}
@beginEventTable{wxBookCtrlEvent}
@event{EVT_LISTBOOK_PAGE_CHANGED(id, func)}
The page selection was changed.
Processes a @c wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED event.

View File

@ -276,7 +276,7 @@ public:
width and height.
@endWxPythonOnly
*/
virtual void GetClientSize(int* width, int* height) const;
void GetClientSize(int* width, int* height) const;
/**
Returns a pointer to the client window.

View File

@ -125,7 +125,7 @@ protected:
It's declared @c protected so that wxObjectRefData instances
will never be destroyed directly but only as result of a DecRef() call.
*/
~wxObjectRefData();
virtual ~wxObjectRefData();
public:
/**

View File

@ -219,7 +219,7 @@ public:
The default implementation returns text height, as if this control was
a normal combobox.
*/
wxCoord OnMeasureItem(size_t item) const;
virtual wxCoord OnMeasureItem(size_t item) const;
/**
The derived class may implement this method to return the width of the
@ -228,6 +228,6 @@ public:
The default implementation returns -1.
*/
wxCoord OnMeasureItemWidth(size_t item) const;
virtual wxCoord OnMeasureItemWidth(size_t item) const;
};

View File

@ -139,7 +139,7 @@ public:
/**
Returns @true if palette data is present.
*/
bool IsOk() const;
virtual bool IsOk() const;
/**
Assignment operator, using @ref overview_refcount.

View File

@ -265,7 +265,7 @@ public:
/**
Returns @true if the pen is initialised.
*/
bool IsOk() const;
virtual bool IsOk() const;
/**
Sets the pen cap style, which may be one of @c wxCAP_ROUND, @c wxCAP_PROJECTING

View File

@ -149,7 +149,7 @@ public:
@note On PocketPC, no buttons are created.
*/
void CreateButtons(int flags = wxOK|wxCANCEL);
virtual void CreateButtons(int flags = wxOK|wxCANCEL);
/**
Returns the book control that will contain your settings pages.

View File

@ -44,22 +44,22 @@ public:
Specify an optional palette pointer to receive the resulting palette.
This palette may be passed to ConvertImageToBitmap, for example.
*/
bool Quantize(const wxImage& src, wxImage& dest,
wxPalette** pPalette, int desiredNoColours = 236,
unsigned char** eightBitData = 0,
int flags = wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
|wxQUANTIZE_RETURN_8BIT_DATA);
static bool Quantize(const wxImage& src, wxImage& dest,
wxPalette** pPalette, int desiredNoColours = 236,
unsigned char** eightBitData = 0,
int flags = wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|
wxQUANTIZE_FILL_DESTINATION_IMAGE|
wxQUANTIZE_RETURN_8BIT_DATA);
/**
This version sets a palette in the destination image so you don't
have to manage it yourself.
*/
bool Quantize(const wxImage& src, wxImage& dest,
int desiredNoColours = 236,
unsigned char** eightBitData = 0,
int flags = wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
|wxQUANTIZE_RETURN_8BIT_DATA);
static bool Quantize(const wxImage& src, wxImage& dest,
int desiredNoColours = 236,
unsigned char** eightBitData = 0,
int flags = wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|
wxQUANTIZE_FILL_DESTINATION_IMAGE|
wxQUANTIZE_RETURN_8BIT_DATA);
};

View File

@ -358,7 +358,7 @@ public:
/**
Clears the buffer.
*/
void Clear();
virtual void Clear();
//@{
/**
@ -534,7 +534,7 @@ public:
/**
Finds a handler by name.
*/
wxRichTextFileHandler* FindHandler(const wxString& name);
static wxRichTextFileHandler* FindHandler(const wxString& name);
/**
Finds a handler by filename or, if supplied, type.
@ -598,7 +598,7 @@ public:
style attributes. To get the character or paragraph style alone,
use GetUncombinedStyle().
*/
bool GetStyle(long position, wxTextAttr& style);
virtual bool GetStyle(long position, wxTextAttr& style);
/**
This function gets a style representing the common, combined attributes in the
@ -646,7 +646,7 @@ public:
will fetch the paragraph attributes.
Otherwise, it will return the character attributes.
*/
bool GetUncombinedStyle(long position, wxTextAttr& style);
virtual bool GetUncombinedStyle(long position, wxTextAttr& style);
/**
Finds the text position for the given position, putting the position in
@ -655,7 +655,7 @@ public:
@return One of the ::wxRichTextHitTestFlags values.
*/
int HitTest(wxDC& dc, const wxPoint& pt, long& textPosition);
virtual int HitTest(wxDC& dc, const wxPoint& pt, long& textPosition);
/**
Initialisation.
@ -810,7 +810,7 @@ public:
only affects the style currently being applied (for example, setting the default
style to bold will cause subsequently inserted text to be bold).
*/
void SetBasicStyle(const wxTextAttr& style);
virtual void SetBasicStyle(const wxTextAttr& style);
/**
Sets the default style, affecting the style currently being applied
@ -888,9 +888,8 @@ public:
- wxRICHTEXT_SETSTYLE_REMOVE: removes the specified style.
Only the style flags are used in this operation.
*/
bool SetStyle(const wxRichTextRange& range,
const wxTextAttr& style,
int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO);
virtual bool SetStyle(const wxRichTextRange& range, const wxTextAttr& style,
int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO);
/**
Sets the current style sheet, if any.

View File

@ -516,7 +516,7 @@ public:
/**
Currently this simply returns @c wxSize(10, 10).
*/
wxSize DoGetBestSize() const;
virtual wxSize DoGetBestSize() const;
/**
Ends alignment.
@ -1427,7 +1427,7 @@ public:
/**
Replaces existing content with the given text.
*/
void SetValue(const wxString& value);
virtual void SetValue(const wxString& value);
/**
A helper function setting up scrollbars, for example after a resize.
@ -1472,7 +1472,7 @@ public:
/**
Writes an image block at the current insertion point.
*/
bool WriteImage(const wxRichTextImageBlock& imageBlock);
virtual bool WriteImage(const wxRichTextImageBlock& imageBlock);
//@{
/**

View File

@ -156,9 +156,8 @@ public:
Apply attributes to the given range, only changing attributes that
need to be changed.
*/
bool ApplyStyle(wxRichTextCtrl* ctrl,
const wxRichTextRange& range,
int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO|wxRICHTEXT_SETSTYLE_OPTIMIZE);
virtual bool ApplyStyle(wxRichTextCtrl* ctrl, const wxRichTextRange& range,
int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO|wxRICHTEXT_SETSTYLE_OPTIMIZE);
/**
Creation: see wxRichTextFormattingDialog() "the constructor" for

View File

@ -85,7 +85,7 @@ public:
/**
Saves the buffer content to the HTML stream.
*/
bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream);
virtual bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream);
/**
Returns the mapping for converting point sizes to HTML font sizes.

View File

@ -292,7 +292,7 @@ public:
/**
Returns the HTML for this item.
*/
wxString OnGetItem(size_t n) const;
virtual wxString OnGetItem(size_t n) const;
/**
Implements left click behaviour, applying the clicked style to the

View File

@ -37,7 +37,7 @@ public:
*/
wxRichTextXMLHandler(const wxString& name = wxT("XML"),
const wxString& ext = wxT("xml"),
int type = wxRICHTEXT_TYPE_XML) const;
int type = wxRICHTEXT_TYPE_XML);
/**
Returns @true.
@ -57,12 +57,12 @@ public:
/**
Loads buffer context from the given stream.
*/
bool DoLoadFile(wxRichTextBuffer* buffer, wxInputStream& stream);
virtual bool DoLoadFile(wxRichTextBuffer* buffer, wxInputStream& stream);
/**
Saves buffer context to the given stream.
*/
bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream);
virtual bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream);
/**
Recursively exports an object to the stream.

View File

@ -127,7 +127,7 @@ public:
@note this is currently only implemented for Windows and generic versions
of the control.
*/
void SetSelection(long from, long to);
virtual void SetSelection(long from, long to);
/**
Sets the value of the spin control. Use the variant using int instead.

View File

@ -883,21 +883,24 @@ public:
*/
size_t OnSysRead(void* buffer, size_t bufsize);
/**
See OnSysRead().
*/
size_t OnSysWrite(const void* buffer, size_t bufsize);
protected:
/**
Internal function.
It is called when the stream needs to change the current position.
*/
wxFileOffset OnSysSeek(wxFileOffset pos, wxSeekMode mode);
virtual wxFileOffset OnSysSeek(wxFileOffset pos, wxSeekMode mode);
/**
Internal function.
It is called when the stream needs to know the real position.
*/
wxFileOffset OnSysTell() const;
/**
See OnSysRead().
*/
size_t OnSysWrite(const void* buffer, size_t bufsize);
virtual wxFileOffset OnSysTell() const;
};

View File

@ -1069,7 +1069,7 @@ public:
@see WriteText()
*/
void AppendText(const wxString& text);
virtual void AppendText(const wxString& text);
/**
Call this function to enable auto-completion of the text typed in a
@ -1087,7 +1087,7 @@ public:
@see AutoCompleteFileNames()
*/
bool AutoComplete(const wxArrayString& choices);
virtual bool AutoComplete(const wxArrayString& choices);
/**
Call this function to enable auto-completion of the text typed in a
@ -1105,17 +1105,17 @@ public:
@see AutoComplete()
*/
bool AutoCompleteFileNames();
virtual bool AutoCompleteFileNames();
/**
Returns @true if the selection can be copied to the clipboard.
*/
virtual bool CanCopy();
virtual bool CanCopy() const;
/**
Returns @true if the selection can be cut to the clipboard.
*/
virtual bool CanCut();
virtual bool CanCut() const;
/**
Returns @true if the contents of the clipboard can be pasted into the
@ -1124,19 +1124,19 @@ public:
On some platforms (Motif, GTK) this is an approximation and returns
@true if the control is editable, @false otherwise.
*/
virtual bool CanPaste();
virtual bool CanPaste() const;
/**
Returns @true if there is a redo facility available and the last
operation can be redone.
*/
virtual bool CanRedo();
virtual bool CanRedo() const;
/**
Returns @true if there is an undo facility available and the last
operation can be undone.
*/
virtual bool CanUndo();
virtual bool CanUndo() const;
/**
Sets the new text control value.
@ -1326,7 +1326,7 @@ public:
If there is no selection, the returned string is empty.
*/
virtual wxString GetStringSelection();
virtual wxString GetStringSelection() const;
/**
Returns the style at this position in the text control.

View File

@ -90,13 +90,13 @@ public:
/**
Delete all lines from the file, set current line number to 0.
*/
void Clear() const;
void Clear();
/**
Closes the file and frees memory, @b "losing all changes".
Use Write() if you want to save them.
*/
bool Close() const;
bool Close();
//@{
/**
@ -213,7 +213,7 @@ public:
Changes the value returned by GetCurrentLine() and used by GetFirstLine()
and GetNextLine().
*/
void GoToLine(size_t n) const;
void GoToLine(size_t n);
/**
Guess the type of file (which is supposed to be opened).
@ -252,7 +252,7 @@ public:
/**
Delete line number @a n from the file.
*/
void RemoveLine(size_t n) const;
void RemoveLine(size_t n);
/**
Change the file on disk.

View File

@ -84,7 +84,7 @@ public:
(including GTK+) where the window manager may not support this operation
and there is no way to find out.
*/
bool EnableCloseButton(bool enable = true);
virtual bool EnableCloseButton(bool enable = true);
/**
Returns a pointer to the button which is the default for this window, or
@ -115,7 +115,7 @@ public:
@see SetTitle()
*/
wxString GetTitle() const;
virtual wxString GetTitle() const;
/**
Unique to the wxWinCE port. Responds to showing/hiding SIP (soft input
@ -153,17 +153,17 @@ public:
@see ShowFullScreen()
*/
bool IsFullScreen();
virtual bool IsFullScreen() const;
/**
Returns @true if the window is iconized.
*/
bool IsIconized() const;
virtual bool IsIconized() const;
/**
Returns @true if the window is maximized.
*/
bool IsMaximized() const;
virtual bool IsMaximized() const;
/**
This method is specific to wxUniversal port.
@ -394,7 +394,7 @@ public:
@see IsFullScreen()
*/
bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL);
virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL);
/**
This method is specific to wxUniversal port.

View File

@ -201,7 +201,7 @@ public:
@todo Change this function signature to non-const.
*/
void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
/**
The derived class must implement this function to actually draw the

View File

@ -1867,7 +1867,7 @@ public:
@param y
Stores the screen x coordinate and receives the client x coordinate.
*/
virtual void ScreenToClient(int* x, int* y) const;
void ScreenToClient(int* x, int* y) const;
/**
Converts from screen to client window coordinates.
@ -1875,7 +1875,7 @@ public:
@param pt
The screen position.
*/
virtual wxPoint ScreenToClient(const wxPoint& pt) const;
wxPoint ScreenToClient(const wxPoint& pt) const;
/**
Scrolls the window by the given number of lines down (if @a lines is