Change all incorrect uses of __WXDEBUG__ to _DEBUG. __WXDEBUG__ being defined does not necessarily mean that it is a debug build, and by default it is defined in release builds of wx as of 2.9.1.
Originally committed to SVN as r4089.
This commit is contained in:
parent
cb8cafadbd
commit
c9ba8329ad
4 changed files with 5 additions and 5 deletions
|
@ -237,7 +237,7 @@
|
|||
#include <GL/glu.h>
|
||||
#endif
|
||||
|
||||
#ifndef _CRT_SECURE_NO_WARNINGS
|
||||
#ifndef _CRT_SECURE_NO_WARNINGS_DEFINED
|
||||
#undef _CRT_SECURE_NO_WARNINGS
|
||||
#endif
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@ DialogFontsCollector::DialogFontsCollector(wxWindow *parent)
|
|||
choices.Add(_("Copy fonts to folder"));
|
||||
choices.Add(_("Copy fonts to zipped archive"));
|
||||
choices.Add(_("Attach fonts to current subtitles"));
|
||||
#ifdef __WXDEBUG__
|
||||
#ifdef _DEBUG
|
||||
choices.Add(_("DEBUG: Verify all fonts in system"));
|
||||
#endif
|
||||
CollectAction = new wxRadioBox(this,RADIO_BOX,_T("Action"),wxDefaultPosition,wxDefaultSize,choices,1);
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
/////////////
|
||||
// wxWidgets
|
||||
#if wxCHECK_VERSION(2, 9, 0)
|
||||
#ifdef __WXDEBUG__
|
||||
#ifdef _DEBUG
|
||||
#pragma comment(lib, "wxzlibd.lib")
|
||||
#pragma comment(lib, "wxpngd.lib")
|
||||
#pragma comment(lib, "wxregexud.lib")
|
||||
|
@ -122,7 +122,7 @@
|
|||
/////////////
|
||||
// FreeType2
|
||||
#ifdef WITH_FREETYPE2
|
||||
#ifdef __WXDEBUG__
|
||||
#ifdef _DEBUG
|
||||
#ifdef FT2_LIB_DEBUG
|
||||
#pragma comment(lib,FT2_LIB_DEBUG)
|
||||
#endif
|
||||
|
|
|
@ -160,7 +160,7 @@ void SubtitleFormat::LoadFormats () {
|
|||
new MKVSubtitleFormat();
|
||||
new EncoreSubtitleFormat();
|
||||
new TranStationSubtitleFormat();
|
||||
#ifdef __WXDEBUG__
|
||||
#ifdef _DEBUG
|
||||
new DVDSubtitleFormat();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue