From d41409d878881b8859142c61a86d44c8b5a4006b Mon Sep 17 00:00:00 2001 From: Blake-Madden Date: Thu, 11 Apr 2024 19:42:07 -0400 Subject: [PATCH] Check for wxWidgets macros that don't have the wx prefix --- src/i18n_review.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/i18n_review.cpp b/src/i18n_review.cpp index d47ff0d..371a832 100644 --- a/src/i18n_review.cpp +++ b/src/i18n_review.cpp @@ -192,12 +192,16 @@ namespace i18n_check { L"wxIsNan", L"Use std::isnan() instead." }, { L"wxDECLARE_EVENT_TABLE", L"Prefer using Bind() within a class's CTOR instead of message maps." }, + { L"DECLARE_EVENT_TABLE", + L"Prefer using Bind() within a class's CTOR instead of message maps." }, { L"__WXMAC__", L"Use __WXOSX__ instead." }, { L"WXSIZEOF", L"Use std::size() instead (requires C++17)." }, { L"wxOVERRIDE", L"Use override or final instead." }, { L"wxNOEXCEPT", L"Use noexcept instead (requires C++17)." }, { L"WXUNUSED", L"Use [[maybe_unused]] instead (requires C++17)." }, { L"wxDECLARE_NO_COPY_CLASS", + L"Delete the copy CTOR and assignment operator instead." }, + { L"DECLARE_NO_COPY_CLASS", L"Delete the copy CTOR and assignment operator instead." } };