mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-28 08:10:11 +01:00
Start of hackery to reduce differences between DarkAudacity and Audacity
This commit is contained in:
@@ -171,6 +171,16 @@ void QuitAudacity();
|
|||||||
// Marks strings for extraction only...must use wxGetTranslation() to translate.
|
// Marks strings for extraction only...must use wxGetTranslation() to translate.
|
||||||
#define XO(s) wxT(s)
|
#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.
|
// This renames a good use of this C++ keyword that we don't need to review when hunting for leaks.
|
||||||
#define PROHIBITED = delete
|
#define PROHIBITED = delete
|
||||||
|
|
||||||
|
|||||||
@@ -9,3 +9,11 @@
|
|||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#include "AudacityHeaders.h"
|
#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"
|
AudacityLogo ICON "audacity.ico"
|
||||||
#include "wx/msw/wx.rc"
|
#include "wx/msw/wx.rc"
|
||||||
|
#define IN_RC
|
||||||
#include "Audacity.h"
|
#include "Audacity.h"
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user