forked from mia/Aegisub
Remove pointless wxID_CANCEL binding
This commit is contained in:
parent
e0bf0317c9
commit
791c1f88ad
1 changed files with 0 additions and 1 deletions
|
@ -82,7 +82,6 @@ DialogJumpTo::DialogJumpTo(agi::Context *c)
|
||||||
Bind(wxEVT_INIT_DIALOG, &DialogJumpTo::OnInitDialog, this);
|
Bind(wxEVT_INIT_DIALOG, &DialogJumpTo::OnInitDialog, this);
|
||||||
Bind(wxEVT_COMMAND_TEXT_ENTER, &DialogJumpTo::OnOK, this);
|
Bind(wxEVT_COMMAND_TEXT_ENTER, &DialogJumpTo::OnOK, this);
|
||||||
Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogJumpTo::OnOK, this, wxID_OK);
|
Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogJumpTo::OnOK, this, wxID_OK);
|
||||||
Bind(wxEVT_COMMAND_BUTTON_CLICKED, std::bind(&DialogJumpTo::EndModal, this, 0), wxID_CANCEL);
|
|
||||||
JumpTime->Bind(wxEVT_COMMAND_TEXT_UPDATED, &DialogJumpTo::OnEditTime, this);
|
JumpTime->Bind(wxEVT_COMMAND_TEXT_UPDATED, &DialogJumpTo::OnEditTime, this);
|
||||||
JumpFrame->Bind(wxEVT_COMMAND_TEXT_UPDATED, &DialogJumpTo::OnEditFrame, this);
|
JumpFrame->Bind(wxEVT_COMMAND_TEXT_UPDATED, &DialogJumpTo::OnEditFrame, this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue