]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/thread.h
allow the user to pass NULL for the status widths; this was a feature supported by...
[wxWidgets.git] / interface / wx / thread.h
index b167648634d540a9b430c1d84ba829c96140ca16..2bb854a14b5a36ab94662972f46051401c36f31d 100644 (file)
@@ -972,6 +972,10 @@ public:
     /**
         Returns the number of system CPUs or -1 if the value is unknown.
 
+        For multi-core systems the returned value is typically the total number
+        of @e cores, since the OS usually abstract a single N-core CPU
+        as N different cores.
+
         @see SetConcurrency()
     */
     static int GetCPUCount();
@@ -1634,7 +1638,7 @@ bool wxIsMainThread();
         wxMutexGuiEnter();
 
         // Call GUI here:
-        my_window-DrawSomething();
+        my_window->DrawSomething();
 
         wxMutexGuiLeave();
     }