You probably forgot to include the file wx.rc in your resource script This is required for dialog boxes to work correctly.