app = wx.App() ... wx.MessageBox("Hello!", "title", wx.OK | wx.ICON_INFORMATION)
Yes/No
result = wx.MessageBox("よろしいですか?", "確認", wx.YES_NO | wx.ICON_QUESTION) if result == wx.YES: print("User selected Yes") else: print("User selected No")
app = wx.App() ... wx.MessageBox("Hello!", "title", wx.OK | wx.ICON_INFORMATION)
Yes/No
result = wx.MessageBox("よろしいですか?", "確認", wx.YES_NO | wx.ICON_QUESTION) if result == wx.YES: print("User selected Yes") else: print("User selected No")