X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a631300cb83b23107f5b61bd96a97a6ef05cc122..8f4d9fcd9a1133442aa733e978231b01956e641b:/src/cocoa/utils.cpp?ds=sidebyside diff --git a/src/cocoa/utils.cpp b/src/cocoa/utils.cpp index 3156561f31..320091fbb0 100644 --- a/src/cocoa/utils.cpp +++ b/src/cocoa/utils.cpp @@ -25,6 +25,10 @@ void wxDisplaySize(int *width, int *height) { // TODO + if(width) + *width = 1024; + if(height) + *height = 768; } void wxDisplaySizeMM(int*,int*) @@ -45,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