1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-21 23:00:06 +02:00

FileDialogPrivate.* include our Internat.h for macro _ ...

... or (win) just don't use _ when writing to the log
This commit is contained in:
Paul Licameli 2020-05-26 12:11:04 -04:00
parent b9959de4ba
commit af26d0438c
3 changed files with 5 additions and 1 deletions

View File

@ -26,6 +26,8 @@
#include <wx/modalhook.h>
#include <wx/sizer.h>
#include "../../../Internat.h" // For macro _
#define wxGTK_CONV(s) (s).utf8_str()
#define wxGTK_CONV_FN(s) (s).fn_str()

View File

@ -46,6 +46,8 @@
#include <AppKit/AppKit.h>
#include "../../../Internat.h" // For macro _
// ============================================================================
// implementation
// ============================================================================

View File

@ -881,7 +881,7 @@ static bool ShowCommFileDialog(OPENFILENAME *of, long style)
// common dialog failed - why?
if (errCode != 0)
{
wxLogError(_("File dialog failed with error code %0lx."), errCode);
wxLogError(wxT("File dialog failed with error code %0lx."), errCode);
}
//else: it was just cancelled