]> git.saurik.com Git - wxWidgets.git/blob - samples/ipc/ddesetup.h
This is how wxPlotWindow would look like with the
[wxWidgets.git] / samples / ipc / ddesetup.h
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
18
19 #ifdef __WXMSW__
20 #define wxUSE_DDE_FOR_SAMPLE 0
21 #else
22 #define wxUSE_DDE_FOR_SAMPLE 0
23 #endif
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