X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/61aba4609aa384e8906e76715ea483cbf46c6725..f155075229d771430f0793700f5048ad4be00e9d:/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