X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0122b7e3fcfd78f879470053c91a60e3c66537a3..55f9f0cbc8dcf45f8d484b2f931c5c254d4404d1:/wxPython/demo/wxFindReplaceDialog.py diff --git a/wxPython/demo/wxFindReplaceDialog.py b/wxPython/demo/wxFindReplaceDialog.py index 14b0e32df8..c0217aedec 100644 --- a/wxPython/demo/wxFindReplaceDialog.py +++ b/wxPython/demo/wxFindReplaceDialog.py @@ -25,21 +25,21 @@ class TestPanel(wxPanel): data = wxFindReplaceData() dlg = wxFindReplaceDialog(self, data, "Find") dlg.data = data # save a reference to it... - dlg.Show(true) + dlg.Show(True) def OnShowFindReplace(self, evt): data = wxFindReplaceData() dlg = wxFindReplaceDialog(self, data, "Find & Replace", wxFR_REPLACEDIALOG) dlg.data = data # save a reference to it... - dlg.Show(true) + dlg.Show(True) def OnFind(self, evt): map = { wxEVT_COMMAND_FIND : "FIND", wxEVT_COMMAND_FIND_NEXT : "FIND_NEXT", - wxEVT_COMMAND_FIND_REPLACE : "REPALCE", + wxEVT_COMMAND_FIND_REPLACE : "REPLACE", wxEVT_COMMAND_FIND_REPLACE_ALL : "REPLACE_ALL", } et = evt.GetEventType()