]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/thread.h
Added Joel's wxchar.h for future Unicode adventures
[wxWidgets.git] / include / wx / thread.h
index cb3f0192361cb9f925196c4746a0694974368a8b..1acb78279f807e0831867e9dc90826eae2baad16 100644 (file)
@@ -312,7 +312,7 @@ protected:
     // Returns TRUE if the thread was asked to terminate: this function should
     // be called by the thread from time to time, otherwise the main thread
     // will be left forever in Delete()!
-    bool TestDestroy() const;
+    bool TestDestroy();
 
     // exits from the current thread - can be called only from this thread
     void Exit(void *exitcode = 0);
@@ -369,7 +369,7 @@ public:
 // -----------------------------------------------------------------------------
 // implementation only until the end of file
 // -----------------------------------------------------------------------------
-#ifdef wxUSE_THREADS
+#if wxUSE_THREADS
 #ifdef __WXMSW__
     // unlock GUI if there are threads waiting for and lock it back when
     // there are no more of them - should be called periodically by the main