On 09.09.2010, at 14:40, Roman Kantor wrote: > On 09/09/2010 10:50, Albrecht Schlosser wrote: > >> >> IMHO you don't need a workaround. It should be perfectly legal to use >> more than one window class with the same WndProc function, and that's >> what FLTK would do in this case. > > Oh yeah, I was looking into Fl_win32.cxx but somehow I have completely missed > that > there is a public method Fl_Window::xclass(). > Now everything seems to work just fine (using fltk-1.1.10) as long as I > assign different xclass names.
Thanks for confirmation. Meanwhile I tested this with a small test case and found that it didn't work in FLTK 1.3 (as suspected). This is fixed now in svn -r 7704 :-) Note: the xclass() string must be UTF-8 in FLTK 1.3. I intend to add this demo program to the examples/ directory after some cleanup... Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

