Added dde sample; added docs/index.htm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
37
samples/dde/ddesetup.h
Normal file
37
samples/dde/ddesetup.h
Normal file
@@ -0,0 +1,37 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: ddesetup.h
|
||||
// Purpose: DDE sample settings
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 25/01/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/*
|
||||
* Adjust this before compiling, to switch between real DDE and TCP/IP
|
||||
* implementations.
|
||||
*/
|
||||
|
||||
// If 1, use real DDE. If 0, use TCP/IP
|
||||
#define wxUSE_DDE_FOR_SAMPLE 1
|
||||
|
||||
#if wxUSE_DDE_FOR_SAMPLE
|
||||
|
||||
#define wxConnection wxDDEConnection
|
||||
#define wxServer wxDDEServer
|
||||
#define wxClient wxDDEClient
|
||||
|
||||
#include <wx/dde.h>
|
||||
|
||||
#else
|
||||
|
||||
#define wxConnection wxTCPConnection
|
||||
#define wxServer wxTCPServer
|
||||
#define wxClient wxTCPClient
|
||||
|
||||
#include <wx/sckipc.h>
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user