Skip to content

Commit

Permalink
Fix wrong Unbind
Browse files Browse the repository at this point in the history
  • Loading branch information
wangqr committed Apr 4, 2021
1 parent c39d3c5 commit ec89ce9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/text_selection_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ TextSelectionController::~TextSelectionController() {
}
else {
#endif
ctrl_ctl->Unbind(wxEVT_KEY_DOWN, &TextSelectionController::UpdateUI, this);
ctrl_ctl->Unbind(wxEVT_LEFT_DOWN, &TextSelectionController::UpdateUI, this);
ctrl_ctl->Unbind(wxEVT_KEY_UP, &TextSelectionController::UpdateUI, this);
ctrl_ctl->Unbind(wxEVT_LEFT_UP, &TextSelectionController::UpdateUI, this);
#ifdef WITH_WXSTC
}
}
Expand Down

0 comments on commit ec89ce9

Please sign in to comment.