X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..4f55a07f9f4c6ba6905aaa8e584e6fb14771d278:/src/msw/notebook.cpp diff --git a/src/msw/notebook.cpp b/src/msw/notebook.cpp index 3ff4dd87ce..dc4f4d5d4c 100644 --- a/src/msw/notebook.cpp +++ b/src/msw/notebook.cpp @@ -196,7 +196,8 @@ bool wxNotebook::Create(wxWindow *parent, // dtor wxNotebook::~wxNotebook() { - if (m_bOwnsImageList) delete m_pImageList; + if (m_bOwnsImageList) + delete m_imageList; } // ----------------------------------------------------------------------------