wxLogMessage("%s.",
wxPlatformInfo::Get().GetOperatingSystemDescription());//system
wxLogMessage("Major = %d, Minor = %d",
wxPlatformInfo::Get().GetOSMajorVersion(),//get major
wxPlatformInfo::Get().GetOSMinorVersion() //get minor
);
wxLogMessage("arch = %d.",
wxPlatformInfo::Get().GetArchitecture());//bit
wxString OsVersion = ::wxGetOsDescription();
wxMessageBox(OsVersion, _("axi Test"));//system
wxwidgets 获取系统信息
最新推荐文章于 2023-02-18 19:35:05 发布