compile under Win16 I think - TODO)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2775
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+/////////////////////////////////////////////////////////////////////////////
+// Name: dc.h
+// Purpose: wxDC class
+// Author: Vadim Zeitlin
+// Modified by:
+// Created: 05/25/99
+// RCS-ID: $Id$
+// Copyright: (c) wxWindows team
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
#ifndef _WX_DC_H_BASE_
#define _WX_DC_H_BASE_
return wxExecute(command, sync, handler);
}
+
+bool wxGetFullHostName(wxChar *buf, int maxSize)
+{
+ DWORD nSize = maxSize;
+ if ( !::GetComputerName(buf, &nSize) )
+ {
+ wxLogLastError("GetComputerName");
+
+ return FALSE;
+ }
+
+ return TRUE;
+}