From 8297e64b31d04508e2e5abb58ab02c7b2cf1424f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 4 Sep 2010 13:33:40 +0000 Subject: [PATCH] Remove unused wxProgressDialogTaskRunner::m_parent field. This seems to be a left over from old version of the code and is not used any longer. See #12414. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/progdlg.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/msw/progdlg.cpp b/src/msw/progdlg.cpp index 1e8bd48d6a..0a016d382f 100644 --- a/src/msw/progdlg.cpp +++ b/src/msw/progdlg.cpp @@ -100,16 +100,14 @@ public: class wxProgressDialogTaskRunner : public wxThread { public: - wxProgressDialogTaskRunner(wxWindow* parent) - : wxThread(wxTHREAD_JOINABLE), - m_parent(parent) + wxProgressDialogTaskRunner() + : wxThread(wxTHREAD_JOINABLE) { } wxProgressDialogSharedData* GetSharedDataObject() { return &m_sharedData; } private: - wxWindow* m_parent; wxProgressDialogSharedData m_sharedData; virtual void* Entry(); @@ -586,7 +584,7 @@ bool wxProgressDialog::Show(bool show) // We're showing the dialog for the first time, create the thread that // will manage it. - m_taskDialogRunner = new wxProgressDialogTaskRunner(GetParent()); + m_taskDialogRunner = new wxProgressDialogTaskRunner; m_sharedData = m_taskDialogRunner->GetSharedDataObject(); // Initialize shared data. -- 2.47.2