mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-10 00:15:31 +01:00
AUP3: Make suggested directory preferences changes
In addition, I've extracted the wxTextCtrl wrapper from the TimerRecordDialog intto widgets/wxTextCtrlWrapper.h and made it the default for ShuttleGui::AddTextBox(). This way readonly text controls are always included in the tab order.
This commit is contained in:
@@ -115,6 +115,7 @@ for registering for changes.
|
||||
#include <wx/bmpbuttn.h>
|
||||
#include "../include/audacity/ComponentInterface.h"
|
||||
#include "widgets/wxPanelWrapper.h"
|
||||
#include "widgets/wxTextCtrlWrapper.h"
|
||||
#include "AllThemeResources.h"
|
||||
|
||||
#if wxUSE_ACCESSIBILITY
|
||||
@@ -630,7 +631,7 @@ wxTextCtrl * ShuttleGuiBase::AddTextBox(
|
||||
long flags = wxTE_LEFT;
|
||||
#endif
|
||||
|
||||
mpWind = pTextCtrl = safenew wxTextCtrl(GetParent(), miId, Value,
|
||||
mpWind = pTextCtrl = safenew wxTextCtrlWrapper(GetParent(), miId, Value,
|
||||
wxDefaultPosition, Size, GetStyle( flags ));
|
||||
#if wxUSE_ACCESSIBILITY
|
||||
// so that name can be set on a standard control
|
||||
|
||||
Reference in New Issue
Block a user