]> git.saurik.com Git - wxWidgets.git/blame - samples/ipc/ddesetup.h
Added PREEXTRALIBS (ugh)
[wxWidgets.git] / samples / ipc / ddesetup.h
CommitLineData
7921cf2b
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: ddesetup.h
3// Purpose: DDE sample settings
4// Author: Julian Smart
5// Modified by:
6// Created: 25/01/99
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12/*
13 * Adjust this before compiling, to switch between real DDE and TCP/IP
14 * implementations.
15 */
16
17// If 1, use real DDE. If 0, use TCP/IP
8e0080ee
JS
18
19#ifdef __WXMSW__
ee808147 20#define wxUSE_DDE_FOR_SAMPLE 0
8e0080ee 21#else
b1170810 22#define wxUSE_DDE_FOR_SAMPLE 0
8e0080ee 23#endif
7921cf2b
JS
24
25#if wxUSE_DDE_FOR_SAMPLE
26
27#define wxConnection wxDDEConnection
28#define wxServer wxDDEServer
29#define wxClient wxDDEClient
30
31#include <wx/dde.h>
32
33#else
34
35#define wxConnection wxTCPConnection
36#define wxServer wxTCPServer
37#define wxClient wxTCPClient
38
39#include <wx/sckipc.h>
40
41#endif
42