Skip to content

Commit

Permalink
Mention new __WXFUNCTION_SIG__ macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden committed May 29, 2024
1 parent c5de478 commit 34df823
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/i18n_review.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ namespace i18n_check
{ L"wxStrtol", L"Use wxString::ToLong() instead." },
{ L"wxW64", L"This macro is obsolete; remove it." },
{ L"__WXFUNCTION__",
L"Use __func__ (or std::source_location::function_name with C++20) instead." },
L"Use __func__ or __WXFUNCTION_SIG__ instead." },
{ L"wxTrace", L"Use one of the wxLogTrace() functions or one of the wxVLogTrace() "
L"functions instead." },
{ L"WXTRACE", L"Use one of the wxLogTrace() functions or one of the wxVLogTrace() "
Expand Down
1 change: 1 addition & 0 deletions tests/i18nstringtests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ TEST_CASE("i18n string util", "[i18nstringutil]")
SECTION("Windows Paths")
{
CHECK(is_file_address(L"C:\\users") );
CHECK(is_file_address(L"C:\\") );
CHECK(is_file_address(L"C:/users") ); // wrong path separator should still work
CHECK(is_file_address(L"D:\\users") );
CHECK_FALSE(is_file_address(L"7:\\users")); // not a real drive letter
Expand Down

0 comments on commit 34df823

Please sign in to comment.