GNOME Bugzilla – Bug 311079
Make use of SetWindowTextW in gdk_window_set_title [patch]
Last modified: 2005-07-21 07:30:22 UTC
With this patch it's possible to set titlebars with characters outside the current CodePage. Open issues: Is SetWindowTextW in Win98, or should we GetProcAddress? MSDN is typically unclear on this. Setting some text with a č (C with caron) shows up as normal c. I guess Windows strips the caron for some reason (?). It's still an improvement, as the current code sets a blank titlebar because g_locale returns NULL.
Created attachment 49497 [details] [review] Patch to use SetWindowTextA/W.
Thanks, applied to HEAD and gtk-2-6: 2005-07-21 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Use wide-char API when available. (#311079, Peter Zelezny)