Re: [Audacity-devel] Rate Selection
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Gale A. <ga...@au...> - 2008-04-12 05:54:58
|
|From Martyn Shaw-2 Mar 25, 2008; 09:55pm > I've fixed the Project Rate drop-down to work first time when you > select a rate. Apparently a wx problem > http://lists.wxwidgets.org/archive/wx-users/msg71157.html > did refer, but it's not there at the moment. > > Frustratingly, > mRateBox->GetValue().ToDouble(&mRate); > works when you type a value in and > mRateBox->GetStringSelection().ToDouble(&mRate); > works when you use the drop-down (GetValue() is broken in this case). > > I tried using different event handlers for the two cases (EVT_TEXT and > EVT_COMBOBOX) and they get hit appropriately but the EVT_COMBOBOX > get hit straight after every EVT_TEXT and so the value just gets put back. > EVT_COMBOBOX gets hit twice in the current code for every time you > use the drop-down; any idea why? > So it's not really mended, just the problem moved. I don't know if it helps, but I noticed using the dropdown and typing a rate both work fine in 1.3.0b. It seemed to break in 1.3.2 when SelectionBar.cpp was introduced. Gale |