// 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; } } }