return wxToolkitInfo by reference and not by pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -133,7 +133,7 @@ void wxBell()
|
||||
XBell (wxGlobalDisplay(), 0);
|
||||
}
|
||||
|
||||
wxToolkitInfo *wxGUIAppTraits::GetToolkitInfo()
|
||||
wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo()
|
||||
{
|
||||
wxToolkitInfo info;
|
||||
info.shortName = _T("motif");
|
||||
@@ -150,7 +150,7 @@ wxToolkitInfo *wxGUIAppTraits::GetToolkitInfo()
|
||||
info.versionMajor = ProtocolVersion (display);
|
||||
info.versionMinor = ProtocolRevision (display);
|
||||
info.os = wxMOTIF_X;
|
||||
return &info;
|
||||
return info;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user