mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
15 lines
339 B
Text
15 lines
339 B
Text
// wxWidgets is tested twice - as a library and as a compiler (to distinguish C
|
|
// from C++). Detect it once here.
|
|
|
|
var aWx;
|
|
if(typeof aWx==="undefined")
|
|
{
|
|
aWx=PE.isLibraryPresentExp(/^wx.*?(univ)?(\d+)(u)?(d)?/i);
|
|
if(!aWx)
|
|
{
|
|
if(PE.isResourceNamePresent("WXWINDOWMENU"))
|
|
{
|
|
aWx=1;
|
|
}
|
|
}
|
|
}
|