mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-22 15:20:15 +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:
parent
b9959de4ba
commit
af26d0438c
@ -26,6 +26,8 @@
|
|||||||
#include <wx/modalhook.h>
|
#include <wx/modalhook.h>
|
||||||
#include <wx/sizer.h>
|
#include <wx/sizer.h>
|
||||||
|
|
||||||
|
#include "../../../Internat.h" // For macro _
|
||||||
|
|
||||||
#define wxGTK_CONV(s) (s).utf8_str()
|
#define wxGTK_CONV(s) (s).utf8_str()
|
||||||
#define wxGTK_CONV_FN(s) (s).fn_str()
|
#define wxGTK_CONV_FN(s) (s).fn_str()
|
||||||
|
|
||||||
|
@ -46,6 +46,8 @@
|
|||||||
|
|
||||||
#include <AppKit/AppKit.h>
|
#include <AppKit/AppKit.h>
|
||||||
|
|
||||||
|
#include "../../../Internat.h" // For macro _
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// implementation
|
// implementation
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
@ -881,7 +881,7 @@ static bool ShowCommFileDialog(OPENFILENAME *of, long style)
|
|||||||
// common dialog failed - why?
|
// common dialog failed - why?
|
||||||
if (errCode != 0)
|
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
|
//else: it was just cancelled
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user