Fixed build issue (improper parameters were passed to wx.FileDialog).