]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/utilsunx.cpp
don't show size grip when maximized
[wxWidgets.git] / src / unix / utilsunx.cpp
index 8247bb6f9fd704f3975a52f5bed8be0ae2c5fb6f..8503131014fa0e52fc2344ead0b789e85a5edb69 100644 (file)
@@ -948,6 +948,7 @@ bool wxGetUserName(wxChar *buf, int sz)
     return FALSE;
 }
 
+#ifndef __WXMAC__
 wxString wxGetOsDescription()
 {
 #ifndef WXWIN_OS_DESCRIPTION
@@ -956,6 +957,7 @@ wxString wxGetOsDescription()
     return WXWIN_OS_DESCRIPTION;
 #endif
 }
+#endif
 
 // this function returns the GUI toolkit version in GUI programs, but OS
 // version in non-GUI ones
@@ -1014,8 +1016,9 @@ long wxGetFreeMemory()
 bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree)
 {
 #if defined(HAVE_STATFS) || defined(HAVE_STATVFS)
+    // the case to "char *" is needed for AIX 4.3
     struct statfs fs;
-    if ( statfs(path, &fs) != 0 )
+    if ( statfs((char *)path.fn_str(), &fs) != 0 )
     {
         wxLogSysError("Failed to get file system statistics");
 
@@ -1093,7 +1096,7 @@ bool wxSetEnv(const wxString& variable, const wxChar *value)
 
 #include <signal.h>
 
-static void wxFatalSignalHandler(wxTYPE_SA_HANDLER)
+extern "C" void wxFatalSignalHandler(wxTYPE_SA_HANDLER)
 {
     if ( wxTheApp )
     {