From d602afe5ec0f99eb55fcd5f475ce9d7fa6cfa506 Mon Sep 17 00:00:00 2001 From: Jay Nabonne Date: Mon, 18 Feb 2019 11:32:37 +0000 Subject: [PATCH] Fix several typos in comments No real changes yet. --- src/qt/listctrl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qt/listctrl.cpp b/src/qt/listctrl.cpp index d8f71b6fd5..89194c070c 100644 --- a/src/qt/listctrl.cpp +++ b/src/qt/listctrl.cpp @@ -256,7 +256,7 @@ bool wxListCtrl::SetColumnsOrder(const wxArrayInt& WXUNUSED(orders)) int wxListCtrl::GetCountPerPage() const { - // this may not be exact but should be a good aproximation: + // this may not be exact but should be a good approximation: int h = m_qtTreeWidget->visualItemRect(m_qtTreeWidget->headerItem()).height(); if ( h ) return m_qtTreeWidget->height() / h; @@ -266,7 +266,7 @@ int wxListCtrl::GetCountPerPage() const wxRect wxListCtrl::GetViewRect() const { - // this may not be exact but should be a good aproximation: + // this may not be exact but should be a good approximation: wxRect rect = wxQtConvertRect(m_qtTreeWidget->rect()); int h = m_qtTreeWidget->header()->defaultSectionSize(); rect.SetTop(h); @@ -903,7 +903,7 @@ void wxListCtrl::SetItemCount(long WXUNUSED(count)) bool wxListCtrl::ScrollList(int dx, int dy) { - // aproximate, as scrollContentsBy is protected + // approximate, as scrollContentsBy is protected m_qtTreeWidget->scroll(dx, dy); return true; }