]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dll/wx_exe.cpp
Don't use GetThreadId() in wxMSW code.
[wxWidgets.git] / samples / dll / wx_exe.cpp
index 65e7456caecd3ff3e9da5ed816fd6729b879b3aa..c48d674b316bba58d0558aa293766b3290d4d7ed 100644 (file)
 #include "wx/stattext.h"
 #include "wx/button.h"
 
 #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
 
 // ----------------------------------------------------------------------------
 // GUI classes