From: Vadim Zeitlin Date: Wed, 5 Jan 2011 23:49:11 +0000 (+0000) Subject: No changes, just fix a typo in a variable name. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/95908499c536ae0db50e17b868aa6e22fb53bb57 No changes, just fix a typo in a variable name. s/widtht/width/ See #12846. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/menuitem.cpp b/src/msw/menuitem.cpp index 0c69e199bd..f897ef67fe 100644 --- a/src/msw/menuitem.cpp +++ b/src/msw/menuitem.cpp @@ -887,7 +887,7 @@ bool wxMenuItem::OnMeasureItem(size_t *width, size_t *height) // get size of bitmap always return valid value (0 for invalid bitmap), // so we don't needed check if bitmap is valid ;) size_t heightBmp = wxMax(m_bmpChecked.GetHeight(), m_bmpUnchecked.GetHeight()); - size_t widthtBmp = wxMax(m_bmpChecked.GetWidth(), m_bmpUnchecked.GetWidth()); + size_t widthBmp = wxMax(m_bmpChecked.GetWidth(), m_bmpUnchecked.GetWidth()); if ( IsOwnerDrawn() ) { @@ -896,7 +896,7 @@ bool wxMenuItem::OnMeasureItem(size_t *width, size_t *height) else { // we must allocate enough space for the bitmap - *width += widthtBmp; + *width += widthBmp; } // Is BMP height larger than text height?