]>
Commit | Line | Data |
---|---|---|
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 | |
18 | #define wxUSE_DDE_FOR_SAMPLE 1 | |
19 | ||
20 | #if wxUSE_DDE_FOR_SAMPLE | |
21 | ||
22 | #define wxConnection wxDDEConnection | |
23 | #define wxServer wxDDEServer | |
24 | #define wxClient wxDDEClient | |
25 | ||
26 | #include <wx/dde.h> | |
27 | ||
28 | #else | |
29 | ||
30 | #define wxConnection wxTCPConnection | |
31 | #define wxServer wxTCPServer | |
32 | #define wxClient wxTCPClient | |
33 | ||
34 | #include <wx/sckipc.h> | |
35 | ||
36 | #endif | |
37 |