git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13705
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxString wxGetOsDescription()
{
wxString wxGetOsDescription()
{
- return "MacOS" ; //TODO:define further
-}
\ No newline at end of file
+#ifdef WXWIN_OS_DESCRIPTION
+ // use configure generated description if available
+ return wxString("MacOS (") + WXWIN_OS_DESCRIPTION + wxString(")");
+#else
+ return "MacOS" ; //TODO:define further
+#endif
+}
+
wxString wxGetOsDescription()
{
wxString wxGetOsDescription()
{
- return "MacOS" ; //TODO:define further
-}
\ No newline at end of file
+#ifdef WXWIN_OS_DESCRIPTION
+ // use configure generated description if available
+ return wxString("MacOS (") + WXWIN_OS_DESCRIPTION + wxString(")");
+#else
+ return "MacOS" ; //TODO:define further
+#endif
+}
+
wxString wxGetOsDescription()
{
#ifndef WXWIN_OS_DESCRIPTION
wxString wxGetOsDescription()
{
#ifndef WXWIN_OS_DESCRIPTION
return WXWIN_OS_DESCRIPTION;
#endif
}
return WXWIN_OS_DESCRIPTION;
#endif
}
// this function returns the GUI toolkit version in GUI programs, but OS
// version in non-GUI ones
// this function returns the GUI toolkit version in GUI programs, but OS
// version in non-GUI ones