X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba7c420af0041f3e8485580a0b18e8927592f758..9670dfc4bebf107fff652a8facab25524ef4c0eb:/src/cocoa/utils.cpp diff --git a/src/cocoa/utils.cpp b/src/cocoa/utils.cpp index 6f0cbfae94..320091fbb0 100644 --- a/src/cocoa/utils.cpp +++ b/src/cocoa/utils.cpp @@ -49,13 +49,13 @@ void wxClientDisplayRect(int *x,int *y,int *width,int *height) *height=768; } -int wxGUIAppTraits::GetOSVersion(int *verMaj, int *verMin) +wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo() { - if(verMaj) - *verMaj=0; - if(verMin) - *verMin=0; - return 0; + static wxToolkitInfo info; + info.shortName = _T("cocoa"); + info.name = _T("wxCocoa"); + // TODO: Finish this + return info; } // Return TRUE if we have a colour display