diff --git a/docs/changes.txt b/docs/changes.txt index f7aebda01f..281bdf244d 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -235,6 +235,10 @@ Changes in behaviour which may result in build errors 3.2.4: (released 2024-??-??) ---------------------------- +wxMSW: + +- Fix MSVS warning about redundant "const" in wx/itemid.h (#23590). + 3.2.3: (released 2023-10-10) ---------------------------- diff --git a/include/wx/itemid.h b/include/wx/itemid.h index 99897e9c17..9bd2a83de0 100644 --- a/include/wx/itemid.h +++ b/include/wx/itemid.h @@ -33,7 +33,7 @@ public: bool IsOk() const { return m_pItem != NULL; } Type GetID() const { return m_pItem; } - operator const Type() const { return m_pItem; } + operator Type() const { return m_pItem; } // This is used for implementation purposes only. Type operator->() const { return m_pItem; }