Add SubWindowDelegate to nx.h.