X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/611a725ecd1dd7b35c5659d1d7cabe38d860a1e1..3b01b1fe4cb656f39290bf7f3891667855abe601:/src/generic/listctrl.cpp diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 7ef33c8341..e965866237 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -3868,7 +3868,7 @@ void wxListMainWindow::RecalculatePositions(bool noRefresh) iconSpacing = 0; // Note that we do not call GetClientSize() here but - // GetSize() and substract the border size for sunken + // GetSize() and subtract the border size for sunken // borders manually. This is technically incorrect, // but we need to know the client area's size WITHOUT // scrollbars here. Since we don't know if there are @@ -4662,7 +4662,7 @@ bool wxGenericListCtrl::Create(wxWindow *parent, m_mainWin = new wxListMainWindow( this, wxID_ANY, wxPoint(0,0), size, style ); -#if defined( __WXMAC__ ) && __WXMAC_CARBON__ +#ifdef __WXMAC_CARBON__ // Human Interface Guidelines ask us for a special font in this case if ( GetWindowVariant() == wxWINDOW_VARIANT_NORMAL ) {