X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a8eaaeb23796c69ea0f67cbd48fc5f667d9823d0..a9fc5eec8b1facb001552e61e28c88a22034f199:/src/unix/baseunix.cpp 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__