From 9eab0f6c3a476fa0f4392e420ae809296c79b389 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Tue, 16 Dec 2008 19:44:49 +0000 Subject: [PATCH] don't remove docs for wxThreadHelper::Create; list it in deprecated methods changelog section git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/changes.txt | 2 ++ interface/wx/thread.h | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/docs/changes.txt b/docs/changes.txt index 04bce2249d..fba0a5bbbb 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -235,6 +235,8 @@ Deprecated methods and their replacements it with SetDeviceClippingRegion() if this was the correct thing to do in your code. - wxTE_AUTO_SCROLL style is deprecated as it's always on by default anyhow. +- wxThreadHelper::Create() has been deprecated in favour of wxThreadHelper::CreateThread + which has a better name for a mix-in class, and allows setting the thread type. Major new features in this release diff --git a/interface/wx/thread.h b/interface/wx/thread.h index 20d0f92a60..b167648634 100644 --- a/interface/wx/thread.h +++ b/interface/wx/thread.h @@ -454,6 +454,12 @@ public: */ virtual ExitCode Entry() = 0; + /** + @deprecated + Use CreateThread() instead. + */ + wxThreadError Create(unsigned int stackSize = 0); + /** Creates a new thread of the given @a kind. -- 2.45.2