#include "wx/setup.h"
#include "wx/utils.h"
#include "wx/app.h"
+#include "wx/apptrait.h"
+#include "wx/display.h"
#include <ctype.h>
#include <string.h>
#include <stdarg.h>
-// Get size of display
void wxDisplaySize(int *width, int *height)
{
// TODO
+ if(width)
+ *width = 1024;
+ if(height)
+ *height = 768;
}
void wxDisplaySizeMM(int*,int*)
*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
}
#if 0
-// DFE: These aren't even implemented by wxGTK, and no wxWindows code calls
+// DFE: These aren't even implemented by wxGTK, and no wxWidgets code calls
// them. If someone needs them, then they'll get a link error
// Consume all events until no more left