Missing wxGetOsDescription() for wxMGL in response to undefined reference in wxLogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -90,6 +90,27 @@ int wxDisplayDepth()
|
|||||||
return g_displayDC->getBitsPerPixel();
|
return g_displayDC->getBitsPerPixel();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxString wxGetOsDescription()
|
||||||
|
{
|
||||||
|
wxString osname(
|
||||||
|
|
||||||
|
#if defined(__UNIX__)
|
||||||
|
_T("Unix")
|
||||||
|
#elif defined(__OS2__)
|
||||||
|
_T("OS/2")
|
||||||
|
#elif defined(__WIN32__)
|
||||||
|
_T("Windows")
|
||||||
|
#elif defined(__DOS__)
|
||||||
|
_T("DOS")
|
||||||
|
#else
|
||||||
|
_T("unknown")
|
||||||
|
#endif
|
||||||
|
|
||||||
|
);
|
||||||
|
|
||||||
|
return osname;
|
||||||
|
}
|
||||||
|
|
||||||
#if wxUSE_GUI
|
#if wxUSE_GUI
|
||||||
|
|
||||||
wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo()
|
wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo()
|
||||||
|
Reference in New Issue
Block a user