#include <string.h>
#include <stdarg.h>
+#ifndef __UNIX__
+// defined in unix/utilsunx.cpp for Mac OS X
+
// get full hostname (with domain name if possible)
bool wxGetFullHostName(wxChar *buf, int maxSize)
{
{
// TODO
}
+#endif // !__UNIX__
// Emit a beeeeeep
void wxBell()
return (wxBusyCursorCount > 0);
}
+#ifndef __UNIX__
wxString wxMacFindFolder( short vol,
OSType folderType,
Boolean createFolder)
}
return strDir ;
}
+#endif
+#ifndef __UNIX__
char *wxGetUserHome (const wxString& user)
{
// TODO
return NULL;
}
+#endif
// Check whether this window wants to process messages, e.g. Stop button
// in long calculations.
*width = screenBits.bounds.right - screenBits.bounds.left ;
*height = screenBits.bounds.bottom - screenBits.bounds.top ;
- #if TARGET_CARBON
+#if TARGET_CARBON
SInt16 mheight ;
GetThemeMenuBarHeight( &mheight ) ;
*height -= mheight ;
#else
*height -= LMGetMBarHeight() ;
- #endif
+#endif
+}
+
+void wxDisplaySizeMM(int *width, int *height)
+{
+ wxDisplaySize(width, height);
}
wxWindow* wxFindWindowAtPoint(const wxPoint& pt)