Skip to content

Commit

Permalink
Fixes compatibility with wxWidgets 3.2.4
Browse files Browse the repository at this point in the history
wxWidgets has introduced a breaking API change
with wxWidgets/wxWidgets#23309

This issues is also discussed here:
NixOS/nixpkgs#266945 (comment)
  • Loading branch information
crsib committed Nov 13, 2023
1 parent 23d58d5 commit 871ad32
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion libraries/lib-lv2/LV2Ports.h
Expand Up @@ -170,7 +170,7 @@ class LV2_API LV2ControlPort final : public LV2Port
bool trigger, bool logarithmic
) : LV2Port{ port, index, isInput, symbol, name, group }
, mScaleValues{ move(scaleValues) }
, mScaleLabels{ std::move(scaleLabels) }
, mScaleLabels( std::move(scaleLabels) )
, mUnits{ units }
, mMin{ min }, mMax{ max }, mDef{ def }
, mHasLo{ hasLo }, mHasHi{ hasHi }
Expand Down
10 changes: 5 additions & 5 deletions src/TagsEditor.cpp
@@ -1,11 +1,11 @@
/**********************************************************************
Audacity: A Digital Audio Editor
TagsEditor.cpp
Paul Licameli split from Tags.cpp
**********************************************************************/

#include "TagsEditor.h"
Expand Down Expand Up @@ -42,7 +42,7 @@ class ComboEditor final : public wxGridCellChoiceEditor
public:
ComboEditor(const wxArrayString& choices, bool allowOthers = false)
: wxGridCellChoiceEditor(choices, allowOthers)
, m_choices{ choices }
, m_choices( choices )
, m_allowOthers{ allowOthers }
{
}
Expand Down
2 changes: 1 addition & 1 deletion src/prefs/GUIPrefs.cpp
Expand Up @@ -68,7 +68,7 @@ void GUIPrefs::GetRangeChoices(
int *pDefaultRangeIndex
)
{
static const auto sCodes = {
static const wxArrayStringEx sCodes = {
wxT("36") ,
wxT("48") ,
wxT("60") ,
Expand Down

0 comments on commit 871ad32

Please sign in to comment.