From 63ad2baf5dfb5d9ff59a1ee2d54d332c24a22fee Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Wed, 7 Feb 2007 16:39:05 +0000 Subject: [PATCH] Fixed event handling in styles manager. Originally committed to SVN as r930. --- aegisub/dialog_style_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aegisub/dialog_style_manager.cpp b/aegisub/dialog_style_manager.cpp index bd7a1c12a..03c556ba4 100644 --- a/aegisub/dialog_style_manager.cpp +++ b/aegisub/dialog_style_manager.cpp @@ -159,8 +159,8 @@ DialogStyleManager::DialogStyleManager (wxWindow *parent,SubtitlesGrid *_grid) LoadCurrentStyles(AssFile::top); //Set key handlers for lists - StorageList->SetEventHandler(new DialogStyleManagerEvent(this)); - CurrentList->SetEventHandler(new DialogStyleManagerEvent(this)); + StorageList->PushEventHandler(new DialogStyleManagerEvent(this)); + CurrentList->PushEventHandler(new DialogStyleManagerEvent(this)); // Select default item wxString selected_style;