Fixed a compiler error for wxWidgets 2.8

This commit is contained in:
Zane U. Ji 2013-12-14 18:35:05 +08:00
parent a49d12fe1a
commit 3c59e11f57
1 changed files with 1 additions and 1 deletions

View File

@ -1963,7 +1963,7 @@ void MyFrame::OnDialogReplace ( wxFindDialogEvent& event )
start += doc->ReplaceTarget ( event.GetReplaceString() ); start += doc->ReplaceTarget ( event.GetReplaceString() );
} }
// Move to the next position // Move to the next position
doc->SetEmptySelection ( start ); doc->SetSelection ( start, start );
} }
OnDialogFind ( event ); OnDialogFind ( event );
} }