Updated wxSTC interface scripts and .in files to automate wxOVERRIDE addition.

This commit is contained in:
Paul Kulchenko
2016-02-21 20:18:58 -08:00
parent b5ac178789
commit 287d9e31f6
3 changed files with 67 additions and 44 deletions

View File

@@ -335,7 +335,7 @@ int wxStyledTextCtrl::GetStyleAt(int pos) const {
}
// Redoes the next action on the undo history.
void wxStyledTextCtrl::Redo()
void wxStyledTextCtrl::Redo() wxOVERRIDE
{
SendMsg(SCI_REDO, 0, 0);
}
@@ -348,7 +348,7 @@ void wxStyledTextCtrl::SetUndoCollection(bool collectUndo)
}
// Select all the text in the document.
void wxStyledTextCtrl::SelectAll()
void wxStyledTextCtrl::SelectAll() wxOVERRIDE
{
SendMsg(SCI_SELECTALL, 0, 0);
}
@@ -380,7 +380,7 @@ wxMemoryBuffer wxStyledTextCtrl::GetStyledText(int startPos, int endPos) {
}
// Are there any redoable actions in the undo history?
bool wxStyledTextCtrl::CanRedo() const
bool wxStyledTextCtrl::CanRedo() const wxOVERRIDE
{
return SendMsg(SCI_CANREDO, 0, 0) != 0;
}
@@ -1751,13 +1751,13 @@ void wxStyledTextCtrl::SetReadOnly(bool readOnly)
}
// Will a paste succeed?
bool wxStyledTextCtrl::CanPaste() const
bool wxStyledTextCtrl::CanPaste() const wxOVERRIDE
{
return SendMsg(SCI_CANPASTE, 0, 0) != 0;
}
// Are there any undoable actions in the undo history?
bool wxStyledTextCtrl::CanUndo() const
bool wxStyledTextCtrl::CanUndo() const wxOVERRIDE
{
return SendMsg(SCI_CANUNDO, 0, 0) != 0;
}
@@ -1769,31 +1769,31 @@ void wxStyledTextCtrl::EmptyUndoBuffer()
}
// Undo one action in the undo history.
void wxStyledTextCtrl::Undo()
void wxStyledTextCtrl::Undo() wxOVERRIDE
{
SendMsg(SCI_UNDO, 0, 0);
}
// Cut the selection to the clipboard.
void wxStyledTextCtrl::Cut()
void wxStyledTextCtrl::Cut() wxOVERRIDE
{
SendMsg(SCI_CUT, 0, 0);
}
// Copy the selection to the clipboard.
void wxStyledTextCtrl::Copy()
void wxStyledTextCtrl::Copy() wxOVERRIDE
{
SendMsg(SCI_COPY, 0, 0);
}
// Paste the contents of the clipboard into the document replacing the selection.
void wxStyledTextCtrl::Paste()
void wxStyledTextCtrl::Paste() wxOVERRIDE
{
SendMsg(SCI_PASTE, 0, 0);
}
// Clear the selection.
void wxStyledTextCtrl::Clear()
void wxStyledTextCtrl::Clear() wxOVERRIDE
{
SendMsg(SCI_CLEAR, 0, 0);
}