[wpf] Tiny compilation fix.