mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 15:23:48 +01:00
Bug 1918 - Left to right (LTR) language selection reverses elements that should not be reversed
This does not entirely fix LTR language support, but dramatically ameliorates the problems originally reported in bug 1918.
This commit is contained in:
@@ -328,7 +328,6 @@ ToolBar::ToolBar( int type,
|
||||
|
||||
mGrabber = NULL;
|
||||
mResizer = NULL;
|
||||
|
||||
SetId(mType);
|
||||
}
|
||||
|
||||
@@ -473,6 +472,7 @@ void ToolBar::ReCreateButtons()
|
||||
DestroyChildren();
|
||||
mGrabber = NULL;
|
||||
mResizer = NULL;
|
||||
SetLayoutDirection(wxLayout_LeftToRight);
|
||||
|
||||
{
|
||||
// Create the main sizer
|
||||
|
||||
Reference in New Issue
Block a user