summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/shutdowniconw32.cxx
diff options
context:
space:
mode:
authorHennes Rohling <hro@openoffice.org>2001-08-20 14:51:11 +0000
committerHennes Rohling <hro@openoffice.org>2001-08-20 14:51:11 +0000
commitd4bfcf02d22e0eba43e06485fb568ebebeb84904 (patch)
treea593755a94ae75bb387cd3b49c09c55757e8d6ed /sfx2/source/appl/shutdowniconw32.cxx
parent24b3e6d050f20d78c34bb824795a7c905e174cdd (diff)
#89852# support multiple file selection of FilePicker
Diffstat (limited to 'sfx2/source/appl/shutdowniconw32.cxx')
-rw-r--r--sfx2/source/appl/shutdowniconw32.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sfx2/source/appl/shutdowniconw32.cxx b/sfx2/source/appl/shutdowniconw32.cxx
index 796022d1be..bcaed20897 100644
--- a/sfx2/source/appl/shutdowniconw32.cxx
+++ b/sfx2/source/appl/shutdowniconw32.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: shutdowniconw32.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: hro $ $Date: 2001-08-20 14:44:01 $
+ * last change: $Author: hro $ $Date: 2001-08-20 15:51:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -632,6 +632,9 @@ void OnMeasureItem(HWND hwnd, LPMEASUREITEMSTRUCT lpmis)
SystemParametersInfo(SPI_GETNONCLIENTMETRICS, 0, (PVOID) &ncm, 0);
+ // Assume every menu item can be default and printed bold
+ ncm.lfMenuFont.lfWeight = FW_BOLD;
+
HFONT hfntOld = (HFONT) SelectObject(hdc, (HFONT) CreateFontIndirect( &ncm.lfMenuFont ));
GetTextExtentPoint32W(hdc, pMyItem->text.getStr(),