mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-24 06:10:09 +01:00
Add wx link info into mod-script-pipe for Windows
This puts it on the same footing as other mod-xxx It also means we can shift between wxWidgets versions without updating the project file.
This commit is contained in:
@@ -19,6 +19,36 @@
|
|||||||
#include "../../src/Audacity.h"
|
#include "../../src/Audacity.h"
|
||||||
#include "../../src/ShuttleGui.h"
|
#include "../../src/ShuttleGui.h"
|
||||||
|
|
||||||
|
#if defined(__WXMSW__)
|
||||||
|
#include <wx/init.h>
|
||||||
|
# if defined(__WXDEBUG__)
|
||||||
|
# define D "d"
|
||||||
|
# else
|
||||||
|
# define D ""
|
||||||
|
# endif
|
||||||
|
# if wxCHECK_VERSION(3, 1, 0)
|
||||||
|
# define V "31"
|
||||||
|
# elif wxCHECK_VERSION(3, 0, 0)
|
||||||
|
# define V "30"
|
||||||
|
# else
|
||||||
|
# define V "28"
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# pragma comment(lib, "wxbase" V "u" D)
|
||||||
|
# pragma comment(lib, "wxbase" V "u" D "_net")
|
||||||
|
# pragma comment(lib, "wxmsw" V "u" D "_adv")
|
||||||
|
# pragma comment(lib, "wxmsw" V "u" D "_core")
|
||||||
|
# pragma comment(lib, "wxmsw" V "u" D "_html")
|
||||||
|
# pragma comment(lib, "wxpng" D)
|
||||||
|
# pragma comment(lib, "wxzlib" D)
|
||||||
|
# pragma comment(lib, "wxjpeg" D)
|
||||||
|
# pragma comment(lib, "wxtiff" D)
|
||||||
|
|
||||||
|
# undef V
|
||||||
|
# undef D
|
||||||
|
|
||||||
|
#endif //(__WXMSW__)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
There are several functions that can be used in a GUI module.
|
There are several functions that can be used in a GUI module.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user