From 3c59e11f57b299c324497694a60a706fec145117 Mon Sep 17 00:00:00 2001 From: "Zane U. Ji" Date: Sat, 14 Dec 2013 18:35:05 +0800 Subject: [PATCH] Fixed a compiler error for wxWidgets 2.8 --- src/xmlcopyeditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xmlcopyeditor.cpp b/src/xmlcopyeditor.cpp index ac26bc4..d22b9dd 100644 --- a/src/xmlcopyeditor.cpp +++ b/src/xmlcopyeditor.cpp @@ -1963,7 +1963,7 @@ void MyFrame::OnDialogReplace ( wxFindDialogEvent& event ) start += doc->ReplaceTarget ( event.GetReplaceString() ); } // Move to the next position - doc->SetEmptySelection ( start ); + doc->SetSelection ( start, start ); } OnDialogFind ( event ); }