comdlg32: do not use GetDlgItemText to get combo box text during an CBN_SELCHANGE notification

Aric Stewart aric at
Tue Jul 3 10:21:47 CDT 2012

As documented in bug 9155 the combo box text is not reliably updated 
before CBN_SELCHANGE is sent. This results in the value being returned 
being out of date.
Instead using CB_GETCURSEL and CB_GETLBTEXT will give us the correct 
  dlls/comdlg32/printdlg.c |   25 +++++++++++++++++++------
  1 files changed, 19 insertions(+), 6 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0024-comdlg32-do-not-use-GetText-to-get-combo-box-text-duri.txt
Type: text/x-patch
Size: 2615 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list