Remove all trailing spaces
No real changes, just clean up sources by removing trailing spaces from all the non-generated files. This should hopefully avoid future commits mixing significant changes with insignificant whitespace ones.
This commit is contained in:
@@ -3905,7 +3905,7 @@ protected:
|
||||
covers common needs especially for simple, static fields using text or a bitmap.
|
||||
|
||||
Register field types on application initialisation with the static function
|
||||
wxRichTextBuffer::AddFieldType. They will be deleted automatically on
|
||||
wxRichTextBuffer::AddFieldType. They will be deleted automatically on
|
||||
application exit.
|
||||
|
||||
An application can write a field to a control with wxRichTextCtrl::WriteField,
|
||||
@@ -6122,7 +6122,7 @@ public:
|
||||
|
||||
/**
|
||||
Returns the coordinates of the cell with keyboard focus, or (-1,-1) if none.
|
||||
*/
|
||||
*/
|
||||
virtual wxPosition GetFocusedCell() const;
|
||||
|
||||
// Operations
|
||||
@@ -6206,7 +6206,7 @@ public:
|
||||
wxRichTextTableBlock(const wxRichTextTableBlock& block) { Copy(block); }
|
||||
|
||||
void Init() { m_colStart = 0; m_colEnd = 0; m_rowStart = 0; m_rowEnd = 0; }
|
||||
|
||||
|
||||
void Copy(const wxRichTextTableBlock& block)
|
||||
{
|
||||
m_colStart = block.m_colStart; m_colEnd = block.m_colEnd; m_rowStart = block.m_rowStart; m_rowEnd = block.m_rowEnd;
|
||||
|
@@ -87,7 +87,7 @@ public:
|
||||
/// be removed from the page. By default, these effects are not shown as they
|
||||
/// have no effect in the editor.
|
||||
static int GetAllowedTextEffects() { return sm_allowedTextEffects; }
|
||||
|
||||
|
||||
/// Sets the allowed text effects in the page.
|
||||
static void SetAllowedTextEffects(int allowed) { sm_allowedTextEffects = allowed; }
|
||||
|
||||
|
@@ -44,7 +44,7 @@ class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
|
||||
*/
|
||||
|
||||
class WXDLLIMPEXP_RICHTEXT wxRichTextObjectPropertiesDialog: public wxRichTextFormattingDialog
|
||||
{
|
||||
{
|
||||
wxDECLARE_DYNAMIC_CLASS(wxRichTextObjectPropertiesDialog);
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
// Name: wx/richtext/richtextmarginspage.h
|
||||
// Purpose: Declares the rich text formatting dialog margins page.
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Modified by:
|
||||
// Created: 20/10/2010 10:27:34
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
@@ -70,11 +70,11 @@ public:
|
||||
|
||||
/// Gets the attributes from the formatting dialog
|
||||
wxRichTextAttr* GetAttributes();
|
||||
|
||||
|
||||
/// Data transfer
|
||||
virtual bool TransferDataToWindow() wxOVERRIDE;
|
||||
virtual bool TransferDataFromWindow() wxOVERRIDE;
|
||||
|
||||
|
||||
////@begin wxRichTextMarginsPage event handler declarations
|
||||
|
||||
/// wxEVT_UPDATE_UI event handler for ID_RICHTEXT_LEFT_MARGIN
|
||||
|
@@ -26,7 +26,7 @@
|
||||
wxRichTextFormattingDialog::GetHelpInfo().SetHelpId(ID_HELP_FORMATTINGDIALOG);
|
||||
wxRichTextFormattingDialog::GetHelpInfo().SetUICustomization(& wxGetApp().GetRichTextUICustomization());
|
||||
wxRichTextBordersPage::GetHelpInfo().SetHelpId(ID_HELP_BORDERSPAGE);
|
||||
|
||||
|
||||
Only the wxRichTextFormattingDialog class needs to have its customization object and help id set,
|
||||
though the application set them for individual pages if it wants.
|
||||
**/
|
||||
@@ -46,17 +46,17 @@ public:
|
||||
This class is used as a static member of dialogs, to store the help topic for the dialog
|
||||
and also the customization object that will allow help to be shown appropriately for the application.
|
||||
**/
|
||||
|
||||
|
||||
class WXDLLIMPEXP_RICHTEXT wxRichTextHelpInfo
|
||||
{
|
||||
public:
|
||||
wxRichTextHelpInfo()
|
||||
{
|
||||
m_helpTopic = -1;
|
||||
m_uiCustomization = NULL;
|
||||
m_uiCustomization = NULL;
|
||||
}
|
||||
virtual ~wxRichTextHelpInfo() {}
|
||||
|
||||
|
||||
virtual bool ShowHelp(wxWindow* win)
|
||||
{
|
||||
if ( !m_uiCustomization || m_helpTopic == -1 )
|
||||
|
@@ -98,7 +98,7 @@ public:
|
||||
|
||||
void OutputString(wxOutputStream& stream, const wxString& str);
|
||||
void OutputStringEnt(wxOutputStream& stream, const wxString& str);
|
||||
|
||||
|
||||
static void AddString(wxString& str, const int& v) { str << wxString::Format(wxT("%d"), v); }
|
||||
static void AddString(wxString& str, const long& v) { str << wxString::Format(wxT("%ld"), v); }
|
||||
static void AddString(wxString& str, const double& v) { str << wxString::Format(wxT("%.2f"), (float) v); }
|
||||
@@ -122,7 +122,7 @@ public:
|
||||
|
||||
/// Create a string containing style attributes, plus further object 'attributes' (shown, id)
|
||||
static wxString AddAttributes(wxRichTextObject* obj, bool isPara = false);
|
||||
|
||||
|
||||
virtual bool ExportStyleDefinition(wxOutputStream& stream, wxRichTextStyleDefinition* def, int level);
|
||||
|
||||
virtual bool WriteProperties(wxOutputStream& stream, const wxRichTextProperties& properties, int level);
|
||||
|
Reference in New Issue
Block a user