summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorMichael T. Whiteley <mike@whiteley.org>2011-12-06 23:04:19 -0800
committerTor Lillqvist <tlillqvist@suse.com>2011-12-07 11:48:24 +0200
commit181b1815f807635ecdd8e5f8bbd2c5798f8d7703 (patch)
tree11654a832a6ac275c650cc29010c48263a49dfb7 /vcl/win
parent8538a096603341d78e7c104dacf3048ad7fb953b (diff)
Change "menues" to "menus"
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/source/window/salframe.cxx8
-rw-r--r--vcl/win/source/window/salmenu.cxx8
2 files changed, 8 insertions, 8 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index a306ac04e853..977cf1b65018 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -1205,12 +1205,12 @@ static void ImplSalShow( HWND hWnd, sal_Bool bVisible, sal_Bool bNoActivate )
HDC dc = GetDC( hWnd );
RECT aRect;
GetClientRect( hWnd, &aRect );
- FillRect( dc, &aRect, (HBRUSH) (COLOR_MENU+1) ); // choose the menucolor, because its mostly noticeable for menues
+ FillRect( dc, &aRect, (HBRUSH) (COLOR_MENU+1) ); // choose the menucolor, because its mostly noticeable for menus
ReleaseDC( hWnd, dc );
}
// #i4715, matrox centerpopup might have changed our position
- // reposition popups without caption (menues, dropdowns, tooltips)
+ // reposition popups without caption (menus, dropdowns, tooltips)
GetWindowRect( hWnd, &aRectPostMatrox );
if( (GetWindowStyle( hWnd ) & WS_POPUP) &&
!pFrame->mbCaption &&
@@ -4941,8 +4941,8 @@ static int ImplHandleMenuActivate( HWND hWnd, WPARAM wParam, LPARAM )
// WORD nPos = LOWORD (lParam);
// sal_Bool bWindowMenu = (sal_Bool) HIWORD(lParam);
- // Send activate and deactivate together, so we have not keep track of opened menues
- // this will be enough to have the menues updated correctly
+ // Send activate and deactivate together, so we have not keep track of opened menus
+ // this will be enough to have the menus updated correctly
SalMenuEvent aMenuEvt;
WinSalMenuItem *pSalMenuItem = ImplGetSalMenuItem( hMenu, 0 );
if( pSalMenuItem )
diff --git a/vcl/win/source/window/salmenu.cxx b/vcl/win/source/window/salmenu.cxx
index d0623cdce3d9..e3f4345e5282 100644
--- a/vcl/win/source/window/salmenu.cxx
+++ b/vcl/win/source/window/salmenu.cxx
@@ -41,7 +41,7 @@
#include <impbmp.hxx>
#include <salgdi.hxx>
-// uncomment the following line to have ownerdrawn menues, ie, with bitmaps
+// uncomment the following line to have ownerdrawn menus, ie, with bitmaps
// however, this is incompatible with OLE inplace editing
// so it is not activated by default
//#define OWNERDRAW
@@ -174,12 +174,12 @@ WinSalMenu::~WinSalMenu()
sal_Bool WinSalMenu::VisibleMenuBar()
{
// The Win32 implementation never shows a native
- // menubar. Thus, native menues are only visible
+ // menubar. Thus, native menus are only visible
// when the menu is merged with an OLE container.
// The reason are missing tooltips, ownerdraw
// issues and accessibility which are better supported
- // by VCL menues.
- // Nevertheless, the native menues are always created
+ // by VCL menus.
+ // Nevertheless, the native menus are always created
// and the application will properly react to all native
// menu messages.