Skip to content

Commit

Permalink
Check for wxWidgets macros that don't have the wx prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden committed Apr 11, 2024
1 parent 231533e commit d41409d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/i18n_review.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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." }
};

Expand Down

0 comments on commit d41409d

Please sign in to comment.