Do not leak the list of panes
This commit is contained in:
parent
c6354696d4
commit
595a9945b5
2 changed files with 4 additions and 3 deletions
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
#include "wx/statusbr.h"
|
||||
|
||||
#include <QtCore/QScopedPointer>
|
||||
|
||||
class QLabel;
|
||||
class QStatusBar;
|
||||
|
||||
|
|
@ -45,7 +47,7 @@ private:
|
|||
void UpdateFields();
|
||||
|
||||
QStatusBar *m_qtStatusBar;
|
||||
QList< QLabel* > *m_qtPanes;
|
||||
QScopedPointer< QList<QLabel*> > m_qtPanes; // should this really be a pointer?
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS(wxStatusBar);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue