Add micro version to toolkit version functions
Support micro versions in wxAppTraits::GetToolkitVersion and wxPlatformInfo functions related to toolkit versions.
This commit is contained in:
committed by
Tobias Taschner
parent
ea439c278b
commit
1e78bf639e
@@ -238,11 +238,13 @@ WXDWORD wxGUIAppTraits::WaitForThread(WXHANDLE hThread, int flags)
|
||||
}
|
||||
#endif // wxUSE_THREADS
|
||||
|
||||
wxPortId wxGUIAppTraits::GetToolkitVersion(int *majVer, int *minVer) const
|
||||
wxPortId wxGUIAppTraits::GetToolkitVersion(int *majVer,
|
||||
int *minVer,
|
||||
int *microVer) const
|
||||
{
|
||||
// on Windows, the toolkit version is the same of the OS version
|
||||
// as Windows integrates the OS kernel with the GUI toolkit.
|
||||
wxGetOsVersion(majVer, minVer);
|
||||
wxGetOsVersion(majVer, minVer, microVer);
|
||||
|
||||
return wxPORT_MSW;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user