mirror of https://github.com/odrling/Aegisub
Remove unused OnKeyDown method from DialogSearchReplace
Originally committed to SVN as r5932.
This commit is contained in:
parent
19503ef4f8
commit
0e260409fd
|
@ -192,26 +192,10 @@ END_EVENT_TABLE()
|
||||||
/// @brief Close
|
/// @brief Close
|
||||||
/// @param event
|
/// @param event
|
||||||
///
|
///
|
||||||
void DialogSearchReplace::OnClose (wxCommandEvent &event) {
|
void DialogSearchReplace::OnClose (wxCommandEvent &) {
|
||||||
Show(false);
|
Show(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Key
|
|
||||||
/// @param event
|
|
||||||
///
|
|
||||||
void DialogSearchReplace::OnKeyDown (wxKeyEvent &event) {
|
|
||||||
//if (event.GetKeyCode() == WXK_ESCAPE) {
|
|
||||||
// Search.OnDialogClose();
|
|
||||||
// // Just hide
|
|
||||||
// Show(false);
|
|
||||||
//}
|
|
||||||
event.Skip();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Find or replace
|
/// @brief Find or replace
|
||||||
/// @param mode
|
/// @param mode
|
||||||
/// @return
|
/// @return
|
||||||
|
|
|
@ -165,7 +165,6 @@ private:
|
||||||
void OnReplaceAll (wxCommandEvent &event);
|
void OnReplaceAll (wxCommandEvent &event);
|
||||||
void OnSetFocus (wxFocusEvent &event);
|
void OnSetFocus (wxFocusEvent &event);
|
||||||
void OnKillFocus (wxFocusEvent &event);
|
void OnKillFocus (wxFocusEvent &event);
|
||||||
void OnKeyDown (wxKeyEvent &event);
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DialogSearchReplace(wxWindow *parent,bool hasReplace,wxString name);
|
DialogSearchReplace(wxWindow *parent,bool hasReplace,wxString name);
|
||||||
|
|
Loading…
Reference in New Issue