]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/utils.cpp
LIB instead of Static, better aligned
[wxWidgets.git] / src / cocoa / utils.cpp
index 9451eb06c1e8cebd65ef396a8ca682130465a360..6f0cbfae94c614118dfe048a3e76aa8b9384b2bd 100644 (file)
@@ -12,6 +12,7 @@
 #include "wx/setup.h"
 #include "wx/utils.h"
 #include "wx/app.h"
 #include "wx/setup.h"
 #include "wx/utils.h"
 #include "wx/app.h"
+#include "wx/apptrait.h"
 
 #include <ctype.h>
 
 
 #include <ctype.h>
 
 void wxDisplaySize(int *width, int *height)
 {
     // TODO
 void wxDisplaySize(int *width, int *height)
 {
     // TODO
+    if(width)
+        *width = 1024;
+    if(height)
+        *height = 768;
 }
 
 void wxDisplaySizeMM(int*,int*)
 }
 
 void wxDisplaySizeMM(int*,int*)
@@ -44,6 +49,15 @@ void wxClientDisplayRect(int *x,int *y,int *width,int *height)
         *height=768;
 }
 
         *height=768;
 }
 
+int wxGUIAppTraits::GetOSVersion(int *verMaj, int *verMin)
+{
+    if(verMaj)
+        *verMaj=0;
+    if(verMin)
+        *verMin=0;
+    return 0;
+}
+
 // Return TRUE if we have a colour display
 bool wxColourDisplay()
 {
 // Return TRUE if we have a colour display
 bool wxColourDisplay()
 {