mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 15:49:36 +02:00
Fix for bug #1203
This commit is contained in:
parent
2f9c7d1567
commit
93aeca9a48
@ -87,6 +87,8 @@ class ToolBar:public wxPanel
|
||||
ToolBar(int type, const wxString & label, const wxString & section, bool resizable = false);
|
||||
virtual ~ToolBar();
|
||||
|
||||
virtual bool AcceptsFocus() const { return false; };
|
||||
|
||||
virtual void Create(wxWindow *parent);
|
||||
virtual void EnableDisableButtons() = 0;
|
||||
virtual void ReCreateButtons();
|
||||
|
@ -53,6 +53,8 @@ class ToolDock:public wxPanel
|
||||
ToolDock( ToolManager *manager, wxWindow *parent, int dockid );
|
||||
~ToolDock();
|
||||
|
||||
virtual bool AcceptsFocus() const { return false; };
|
||||
|
||||
void LayoutToolBars();
|
||||
void Expose( int type, bool show );
|
||||
int GetOrder( ToolBar *bar );
|
||||
|
@ -56,6 +56,9 @@ class AButton: public wxWindow {
|
||||
|
||||
virtual ~ AButton();
|
||||
|
||||
virtual bool AcceptsFocus() const { return false; };
|
||||
virtual bool AcceptsFocusFromKeyboard() const { return true; };
|
||||
|
||||
// Associate a set of four images (button up, highlight, button down,
|
||||
// disabled) with one nondefault state of the button
|
||||
virtual void SetAlternateImages(unsigned idx,
|
||||
|
@ -113,6 +113,9 @@ class Meter : public wxPanel
|
||||
|
||||
~Meter();
|
||||
|
||||
virtual bool AcceptsFocus() const { return false; };
|
||||
virtual bool AcceptsFocusFromKeyboard() const { return true; };
|
||||
|
||||
void UpdatePrefs();
|
||||
void Clear();
|
||||
|
||||
|
@ -282,6 +282,8 @@ public:
|
||||
|
||||
~AdornedRulerPanel();
|
||||
|
||||
virtual bool AcceptsFocus() const { return false; };
|
||||
|
||||
public:
|
||||
static int GetRulerHeight() { return 28; }
|
||||
void SetLeftOffset(int offset);
|
||||
|
Loading…
x
Reference in New Issue
Block a user