mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-14 16:46:28 +01:00
Compensate for wxW 3 tab navigation deficiencies on Mac...
... using char hook event handlers. We don't need to go the extreme length of patching wxWidgets source.
This commit is contained in:
committed by
Paul Licameli
parent
ae14cb0dbc
commit
4739f3e27b
@@ -140,7 +140,7 @@ enum {
|
||||
ID_TOGGLEBUTTON_SOLO,
|
||||
};
|
||||
|
||||
BEGIN_EVENT_TABLE(MixerTrackCluster, wxPanel)
|
||||
BEGIN_EVENT_TABLE(MixerTrackCluster, wxPanelWrapper)
|
||||
EVT_MOUSE_EVENTS(MixerTrackCluster::OnMouseEvent)
|
||||
EVT_PAINT(MixerTrackCluster::OnPaint)
|
||||
|
||||
@@ -157,7 +157,7 @@ MixerTrackCluster::MixerTrackCluster(wxWindow* parent,
|
||||
WaveTrack* pLeftTrack, WaveTrack* pRightTrack /*= NULL*/,
|
||||
const wxPoint& pos /*= wxDefaultPosition*/,
|
||||
const wxSize& size /*= wxDefaultSize*/)
|
||||
: wxPanel(parent, -1, pos, size)
|
||||
: wxPanelWrapper(parent, -1, pos, size)
|
||||
{
|
||||
mMixerBoard = grandParent;
|
||||
mProject = project;
|
||||
|
||||
Reference in New Issue
Block a user