Made the styling assistant require a double click to select a style, this fixes issues with mistakenly selecting a style when the user is just trying to focus the assistant

Originally committed to SVN as r3029.
This commit is contained in:
harukalover 2009-06-07 03:43:12 +00:00
parent 513fcb4121
commit f73c129b55

View file

@ -238,7 +238,7 @@ BEGIN_EVENT_TABLE(DialogStyling,wxDialog)
EVT_BUTTON(BUTTON_PLAY_AUDIO, DialogStyling::OnPlayAudioButton)
//EVT_TEXT_ENTER(ENTER_STYLE_BOX, DialogStyling::OnStyleBoxEnter)
EVT_TEXT(ENTER_STYLE_BOX, DialogStyling::OnStyleBoxModified)
EVT_LISTBOX(STYLE_LIST, DialogStyling::OnListClicked)
EVT_LISTBOX_DCLICK(STYLE_LIST, DialogStyling::OnListClicked)
EVT_KEY_DOWN(DialogStyling::OnKeyDown)
END_EVENT_TABLE()