mirror of https://github.com/odrling/Aegisub
Fixed some memory leaks in the kanji timer
Originally committed to SVN as r2965.
This commit is contained in:
parent
b5d7851413
commit
e771de5483
|
@ -169,6 +169,14 @@ DialogKanjiTimer::DialogKanjiTimer(wxWindow *parent, SubtitlesGrid *_grid)
|
|||
}
|
||||
|
||||
|
||||
//////////////
|
||||
// Destructor
|
||||
DialogKanjiTimer::~DialogKanjiTimer() {
|
||||
SourceText->PopEventHandler(true);
|
||||
DestText->PopEventHandler(true);
|
||||
}
|
||||
|
||||
|
||||
///////////////
|
||||
// Event table
|
||||
BEGIN_EVENT_TABLE(DialogKanjiTimer,wxDialog)
|
||||
|
|
|
@ -91,6 +91,7 @@ private:
|
|||
|
||||
public:
|
||||
DialogKanjiTimer(wxWindow *parent, SubtitlesGrid *grid);
|
||||
~DialogKanjiTimer();
|
||||
void OnKeyDown(wxKeyEvent &event);
|
||||
inline void OnMouseEvent(wxMouseEvent &event);
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
|
Loading…
Reference in New Issue