wx.TextCtrl is a subclass of wx.TextEntry, which has SetHint() method. It does not do exactly what you want: prompt is removed when the field is focused, text is not italic (at least on Linux). But it is simple and consistent with other similar stuff on the system.