X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a8eaaeb23796c69ea0f67cbd48fc5f667d9823d0..eabe6af8d99699e96d7ebcac0f2319aebeb4c533:/src/unix/baseunix.cpp?ds=sidebyside diff --git a/src/unix/baseunix.cpp b/src/unix/baseunix.cpp index 630ad555a0..bd40653d6f 100644 --- a/src/unix/baseunix.cpp +++ b/src/unix/baseunix.cpp @@ -88,7 +88,7 @@ wxConsoleAppTraits::WaitForChild(wxExecuteData& execData) // this is in mac/utils.cpp under Mac #ifndef __WXMAC__ -wxToolkitInfo *wxConsoleAppTraits::GetToolkitInfo() +wxToolkitInfo& wxConsoleAppTraits::GetToolkitInfo() { static wxToolkitInfo info; int major, minor; @@ -106,7 +106,7 @@ wxToolkitInfo *wxConsoleAppTraits::GetToolkitInfo() info.name = _T("wxBase"); info.os = wxUNIX; - return &info; + return info; } #endif // __WXMAC__