1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Do not allow resizer to accept focus.

This commit is contained in:
lllucius 2015-01-02 14:39:56 +00:00
parent 42d1c05e5b
commit 15ac9905ad

View File

@ -66,6 +66,9 @@ public:
ToolBarResizer(ToolBar *mBar);
virtual ~ToolBarResizer();
// We don't need or want to accept focus.
bool AcceptsFocus() const;
private:
void OnErase(wxEraseEvent & event);
void OnPaint(wxPaintEvent & event);
@ -107,6 +110,11 @@ ToolBarResizer::~ToolBarResizer()
{
}
bool ToolBarResizer::AcceptsFocus() const
{
return false;
}
//
// Handle background erasure
//