X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dee1a63ff52bfe4da396187f8438aa1a29796737..7b504551c292ecb4296693983161ac5ad03745f6:/include/wx/utils.h diff --git a/include/wx/utils.h b/include/wx/utils.h index 234f130670..ed432b8582 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -211,12 +211,12 @@ WXDLLIMPEXP_BASE long wxExecute(const wxString& command, wxArrayString& error, int flags = 0); -#ifdef __WXMSW__ +#if defined(__WXMSW__) && wxUSE_IPC // ask a DDE server to execute the DDE request with given parameters WXDLLIMPEXP_BASE bool wxExecuteDDE(const wxString& ddeServer, const wxString& ddeTopic, const wxString& ddeCommand); -#endif // __WXMSW__ +#endif // __WXMSW__ && wxUSE_IPC enum wxSignal {