mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-03-17 14:10:07 +01:00
return the dialog returncode, not None
Makes the OK and Cancel buttons actually work now in the demo and other apps derived of the samples. TODO: Classic wxpy needs these fixes pushed also.
This commit is contained in:
@@ -2606,11 +2606,11 @@ class ShortcutEditor(wx.Dialog):
|
||||
over the application's main event loop (see :class:`EventLoopBase`) and which is
|
||||
destroyed when the dialog is dismissed. This also results in a call to
|
||||
:meth:`AppConsole.ProcessPendingEvents` ().
|
||||
|
||||
"""
|
||||
|
||||
"""
|
||||
|
||||
self.PreShow()
|
||||
wx.Dialog.ShowModal(self)
|
||||
return wx.Dialog.ShowModal(self)
|
||||
|
||||
|
||||
def Show(self, show=True):
|
||||
|
||||
Reference in New Issue
Block a user