X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88150e6073673c304d285906e0d718374a5abe93..891ad68ff5ac338d81ea0c4ff176601761e73517:/src/stubs/thread.cpp?ds=sidebyside diff --git a/src/stubs/thread.cpp b/src/stubs/thread.cpp index e12b45e63b..34ad1a4f14 100644 --- a/src/stubs/thread.cpp +++ b/src/stubs/thread.cpp @@ -17,6 +17,8 @@ #include "wx/thread.h" #include "wx/utils.h" +#if wxUSE_THREADS + enum thread_state { STATE_IDLE = 0, STATE_RUNNING, @@ -259,3 +261,5 @@ public: IMPLEMENT_DYNAMIC_CLASS(wxThreadModule, wxModule) +#endif + // wxUSE_THREADS