]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/utils.cpp
Added UpdateSize to wxSplitterWindow, to allow an app
[wxWidgets.git] / src / cocoa / utils.cpp
index 6f0cbfae94c614118dfe048a3e76aa8b9384b2bd..320091fbb0daed46595a37b69e9effc59d8674c9 100644 (file)
@@ -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