X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/61aba4609aa384e8906e76715ea483cbf46c6725..4e15d1caa03346c126015019c1fdf093033ef40b:/samples/dll/wx_exe.cpp diff --git a/samples/dll/wx_exe.cpp b/samples/dll/wx_exe.cpp index 65e7456cae..c48d674b31 100644 --- a/samples/dll/wx_exe.cpp +++ b/samples/dll/wx_exe.cpp @@ -31,6 +31,13 @@ #include "wx/stattext.h" #include "wx/button.h" +#ifndef __WINDOWS__ + #error "This sample is Windows-only" +#endif + +#ifdef WXUSINGDLL + #error "This sample doesn't work with DLL build of wxWidgets" +#endif // ---------------------------------------------------------------------------- // GUI classes