apples and oranges bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5,9 +5,7 @@
|
|||||||
# 11/28/2003 - Jeff Grimmett (grimmtooth@softhome.net)
|
# 11/28/2003 - Jeff Grimmett (grimmtooth@softhome.net)
|
||||||
#
|
#
|
||||||
# o Changed the event binding slightly.
|
# o Changed the event binding slightly.
|
||||||
# o There are issues with the GetReplaceText() method of the
|
|
||||||
# FindDialogEvent. Must be retested when this is fixed.
|
|
||||||
#
|
|
||||||
|
|
||||||
import wx
|
import wx
|
||||||
|
|
||||||
@@ -69,9 +67,7 @@ class TestPanel(wx.Panel):
|
|||||||
else:
|
else:
|
||||||
evtType = "**Unknown Event Type**"
|
evtType = "**Unknown Event Type**"
|
||||||
|
|
||||||
#>> Todo: the GetReplaceString() method is broken. Has to be
|
if et in [wx.wxEVT_COMMAND_FIND_REPLACE, wx.wxEVT_COMMAND_FIND_REPLACE_ALL]:
|
||||||
# fixed.
|
|
||||||
if et == wx.EVT_COMMAND_FIND_REPLACE or et == wx.EVT_COMMAND_FIND_REPLACE_ALL:
|
|
||||||
replaceTxt = "Replace text: %s" % evt.GetReplaceString()
|
replaceTxt = "Replace text: %s" % evt.GetReplaceString()
|
||||||
else:
|
else:
|
||||||
replaceTxt = ""
|
replaceTxt = ""
|
||||||
|
Reference in New Issue
Block a user