Anatoly Lyutin : comdlg32: fontdlg: Add initialisation for comboboxes.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 13 11:07:55 CST 2007


Module: wine
Branch: master
Commit: bea5ed4fa95ba3adebce18e02baecfea70d059d4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bea5ed4fa95ba3adebce18e02baecfea70d059d4

Author: Anatoly Lyutin <vostok at etersoft.ru>
Date:   Sat Feb 10 16:34:30 2007 +0300

comdlg32: fontdlg: Add initialisation for comboboxes.

---

 dlls/comdlg32/fontdlg.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/dlls/comdlg32/fontdlg.c b/dlls/comdlg32/fontdlg.c
index cd36ed3..2f01b3b 100644
--- a/dlls/comdlg32/fontdlg.c
+++ b/dlls/comdlg32/fontdlg.c
@@ -709,6 +709,15 @@ LRESULT CFn_WMInitDialog(HWND hDlg, WPAR
         SendDlgItemMessageW(hDlg,cmb1,CB_SETCURSEL,0,0);
         SendMessageW(hDlg, WM_COMMAND, MAKEWPARAM(cmb1, CBN_SELCHANGE),
                 (LPARAM)GetDlgItem(hDlg,cmb1));
+        SendDlgItemMessageW(hDlg,cmb2,CB_SETCURSEL,0,0);
+        SendMessageW(hDlg, WM_COMMAND, MAKEWPARAM(cmb2, CBN_SELCHANGE),
+                (LPARAM)GetDlgItem(hDlg,cmb1));
+        SendDlgItemMessageW(hDlg,cmb3,CB_SETCURSEL,0,0);
+        SendMessageW(hDlg, WM_COMMAND, MAKEWPARAM(cmb3, CBN_SELCHANGE),
+                (LPARAM)GetDlgItem(hDlg,cmb3));
+        SendDlgItemMessageW(hDlg,cmb5,CB_SETCURSEL,0,0);
+        SendMessageW(hDlg, WM_COMMAND, MAKEWPARAM(cmb5, CBN_SELCHANGE),
+                (LPARAM)GetDlgItem(hDlg,cmb5));
     }
     if ((lpcf->Flags & CF_USESTYLE) && lpcf->lpszStyle)
     {




More information about the wine-cvs mailing list