]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dll/wx_exe.cpp
Use Cairo for wxGraphicsContext in wxX11.
[wxWidgets.git] / samples / dll / wx_exe.cpp
index 65e7456caecd3ff3e9da5ed816fd6729b879b3aa..a4b5263123c59e499d9d1a3f1d77e5c26306a11b 100644 (file)
 #include "wx/stattext.h"
 #include "wx/button.h"
 
+#ifndef __WXMSW__
+    #error "This sample is MSW-only"
+#endif
+
+#ifdef WXUSINGDLL
+    #error "This sample doesn't work with DLL build of wxWidgets"
+#endif
 
 // ----------------------------------------------------------------------------
 // GUI classes