[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master ac83c23 5/7: Spell 'center' one way only
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master ac83c23 5/7: Spell 'center' one way only |
Date: |
Sat, 19 May 2018 12:54:41 -0400 (EDT) |
branch: master
commit ac83c2353da090c5397acc8408abed4fd68614cf
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Spell 'center' one way only
---
docmanager_ex.cpp | 2 +-
input_sequence_entry.cpp | 4 ++--
skeleton.cpp | 2 +-
wx_table_generator.cpp | 6 +++---
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/docmanager_ex.cpp b/docmanager_ex.cpp
index e58bec6..15d0417 100644
--- a/docmanager_ex.cpp
+++ b/docmanager_ex.cpp
@@ -151,7 +151,7 @@ void DocManagerEx::UponPreview(wxCommandEvent&)
return;
}
PreviewFrameEx* frame = new PreviewFrameEx(preview);
- frame->Centre(wxBOTH);
+ frame->Center(wxBOTH);
frame->Initialize();
frame->Show(true);
}
diff --git a/input_sequence_entry.cpp b/input_sequence_entry.cpp
index 5b84299..0f6e2e9 100644
--- a/input_sequence_entry.cpp
+++ b/input_sequence_entry.cpp
@@ -579,7 +579,7 @@ void InputSequenceEditor::insert_row(int new_row)
#define LARGEST_FROM_TEXT "from duration 999 + 999 years"
#define LARGEST_THEN_TEXT "years, then"
- wxSizerFlags const flags = wxSizerFlags().Align(wxALIGN_LEFT |
wxALIGN_CENTRE_VERTICAL);
+ wxSizerFlags const flags = wxSizerFlags().Align(wxALIGN_LEFT |
wxALIGN_CENTER_VERTICAL);
wxControl* value_ctrl;
if(!keywords_.empty())
@@ -1598,7 +1598,7 @@ void InputSequenceEntry::DoOpenEditor()
}
editor.associate_text_ctrl(text_);
- editor.CentreOnParent();
+ editor.CenterOnParent();
editor.ShowModal();
}
diff --git a/skeleton.cpp b/skeleton.cpp
index f246b2d..35a9b0e 100644
--- a/skeleton.cpp
+++ b/skeleton.cpp
@@ -749,7 +749,7 @@ bool Skeleton::OnInit()
if(!wxPersistentRegisterAndRestore(frame_, "lmi_main"))
{
- frame_->Centre(wxBOTH);
+ frame_->Center(wxBOTH);
frame_->Maximize(true);
}
diff --git a/wx_table_generator.cpp b/wx_table_generator.cpp
index a5cb791..cac45e6 100644
--- a/wx_table_generator.cpp
+++ b/wx_table_generator.cpp
@@ -60,7 +60,7 @@
//
// if(ci.is_centered())
// {
-// // Centre the text for the columns configured to do it.
+// // Center the text for the columns configured to do it.
// x_text += (width - dc_.GetTextExtent(s).x) / 2;
// }
//
@@ -90,7 +90,7 @@
// OTOH, unlike a spreadsheet, this class doesn't have any notion of numeric
// or text values, so its align_right_ member is still useful to globally
// configure all columns to be right-aligned. Perhaps we could just add a
-// similar align_centre() method and call it from the group PDF quotes code
+// similar align_center() method and call it from the group PDF quotes code
// and continue to handle the variable width columns specially by
// left-aligning them in any case?
//
@@ -679,7 +679,7 @@ void wx_table_generator::do_output_single_row
{
if(ci.is_centered())
{
- // Centre the text for the columns configured to do it.
+ // Center the text for the columns configured to do it.
x_text += (ci.col_width() - dc_.GetTextExtent(s).x) / 2;
}
else
- [lmi-commits] [lmi] master updated (b8170c7 -> 13f9424), Greg Chicares, 2018/05/19
- [lmi-commits] [lmi] master 0b44727 2/7: Improve const correctness, Greg Chicares, 2018/05/19
- [lmi-commits] [lmi] master 448b5fe 6/7: Add several enumerations for column styles, Greg Chicares, 2018/05/19
- [lmi-commits] [lmi] master c665c1d 4/7: Refine documentation, Greg Chicares, 2018/05/19
- [lmi-commits] [lmi] master ac83c23 5/7: Spell 'center' one way only,
Greg Chicares <=
- [lmi-commits] [lmi] master 49ae301 3/7: Reverse sense of certain conditionals for readability, Greg Chicares, 2018/05/19
- [lmi-commits] [lmi] master 13f9424 7/7: Make column visibility enumerative rather than boolean, Greg Chicares, 2018/05/19
- [lmi-commits] [lmi] master 02fec5a 1/7: Pluralize name s/output_header/output_headers/, Greg Chicares, 2018/05/19