Start of hackery to reduce differences between DarkAudacity and Audacity
This commit is contained in:
parent
8468dfb570
commit
0361169839
|
@ -171,6 +171,16 @@ void QuitAudacity();
|
|||
// Marks strings for extraction only...must use wxGetTranslation() to translate.
|
||||
#define XO(s) wxT(s)
|
||||
|
||||
#ifndef IN_RC
|
||||
#include <wx/defs.h>
|
||||
#include <wx/string.h>
|
||||
|
||||
const wxString& GetCustomTranslation(const wxString& str1 );
|
||||
|
||||
#define WXINTL_NO_GETTEXT_MACRO
|
||||
#define _(s) GetCustomTranslation((s))
|
||||
#endif
|
||||
|
||||
// This renames a good use of this C++ keyword that we don't need to review when hunting for leaks.
|
||||
#define PROHIBITED = delete
|
||||
|
||||
|
|
|
@ -9,3 +9,11 @@
|
|||
**********************************************************************/
|
||||
|
||||
#include "AudacityHeaders.h"
|
||||
|
||||
|
||||
const wxString& GetCustomTranslation(const wxString& str1)
|
||||
{
|
||||
return wxGetTranslation( str1 );
|
||||
//return str1;
|
||||
//return wxString( "AAA" );
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
AudacityLogo ICON "audacity.ico"
|
||||
#include "wx/msw/wx.rc"
|
||||
#define IN_RC
|
||||
#include "Audacity.h"
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue