replaced wxAppTraits::GetOSVersion with GetToolkitInfo with richer information that is needed by wxDynamicLibrary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -98,15 +98,15 @@ void wxBell()
|
||||
XBell ((Display*) wxGetDisplay(), 0);
|
||||
}
|
||||
|
||||
int wxGUIAppTraits::GetOSVersion(int *majorVsn, int *minorVsn)
|
||||
wxToolkitInfo *wxGUIAppTraits::GetToolkitInfo()
|
||||
{
|
||||
if (majorVsn)
|
||||
*majorVsn = 0;
|
||||
|
||||
if (minorVsn)
|
||||
*minorVsn = 0;
|
||||
|
||||
return wxX11;
|
||||
static wxToolkitInfo info;
|
||||
info.shortName = _T("x11univ");
|
||||
info.name = _T("wxX11");
|
||||
info.versionMajor = 0;
|
||||
info.versionMinor = 0;
|
||||
info.os = wxX11;
|
||||
return &info;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user