]> git.saurik.com Git - wxWidgets.git/commitdiff
No changes, just fix a typo in a variable name.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 Jan 2011 23:49:11 +0000 (23:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 Jan 2011 23:49:11 +0000 (23:49 +0000)
s/widtht/width/

See #12846.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/menuitem.cpp

index 0c69e199bdbfb776e82089289894f4e6e40d813f..f897ef67fe5912da5ff79462476e0dc607df0f0b 100644 (file)
@@ -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?