I wonder if it would be safe to move the usage of cwstring to LCL-Qt, LCL-Carbon, LCL-Cocoa and LCL-Gtk2, then LCL-CustomDrawn could add paswstring and we can remove the need for the define. -- Felipe Monteiro de Carvalho