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
This commit is contained in:
@@ -100,16 +100,14 @@ public:
|
|||||||
class wxProgressDialogTaskRunner : public wxThread
|
class wxProgressDialogTaskRunner : public wxThread
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxProgressDialogTaskRunner(wxWindow* parent)
|
wxProgressDialogTaskRunner()
|
||||||
: wxThread(wxTHREAD_JOINABLE),
|
: wxThread(wxTHREAD_JOINABLE)
|
||||||
m_parent(parent)
|
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
wxProgressDialogSharedData* GetSharedDataObject()
|
wxProgressDialogSharedData* GetSharedDataObject()
|
||||||
{ return &m_sharedData; }
|
{ return &m_sharedData; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
wxWindow* m_parent;
|
|
||||||
wxProgressDialogSharedData m_sharedData;
|
wxProgressDialogSharedData m_sharedData;
|
||||||
|
|
||||||
virtual void* Entry();
|
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
|
// We're showing the dialog for the first time, create the thread that
|
||||||
// will manage it.
|
// will manage it.
|
||||||
m_taskDialogRunner = new wxProgressDialogTaskRunner(GetParent());
|
m_taskDialogRunner = new wxProgressDialogTaskRunner;
|
||||||
m_sharedData = m_taskDialogRunner->GetSharedDataObject();
|
m_sharedData = m_taskDialogRunner->GetSharedDataObject();
|
||||||
|
|
||||||
// Initialize shared data.
|
// Initialize shared data.
|
||||||
|
Reference in New Issue
Block a user