X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a24aff654fb10971e82abccc1b56217d556d447b..e970653a2d44003d5a21171a27707341771c5c4c:/src/cocoa/utils.cpp diff --git a/src/cocoa/utils.cpp b/src/cocoa/utils.cpp index 14c47ad65c..320091fbb0 100644 --- a/src/cocoa/utils.cpp +++ b/src/cocoa/utils.cpp @@ -12,6 +12,7 @@ #include "wx/setup.h" #include "wx/utils.h" #include "wx/app.h" +#include "wx/apptrait.h" #include @@ -24,6 +25,10 @@ void wxDisplaySize(int *width, int *height) { // TODO + if(width) + *width = 1024; + if(height) + *height = 768; } void wxDisplaySizeMM(int*,int*) @@ -44,10 +49,13 @@ void wxClientDisplayRect(int *x,int *y,int *width,int *height) *height=768; } -int wxGetOsVersion(int *majorVsn, int *minorVsn) +wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo() { - // TODO - 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