]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/accel.cpp
native window disposal is moved to deferred delete, size of parent taken into account...
[wxWidgets.git] / src / mac / accel.cpp
index 181460adf445d2a2ee12e19aca7cb9f0df59f6d8..798aa720268d1268858fe239dd4baa9614ad1e7a 100644 (file)
@@ -46,8 +46,8 @@ public:
 #define M_ACCELDATA ((wxAcceleratorRefData *)m_refData)
 
 wxAcceleratorRefData::wxAcceleratorRefData()
+    : m_accels()
 {
-    m_accels.DeleteContents( TRUE );
 }
 
 wxAcceleratorRefData::~wxAcceleratorRefData()
@@ -57,7 +57,7 @@ wxAcceleratorRefData::~wxAcceleratorRefData()
 
 wxAcceleratorTable::wxAcceleratorTable()
 {
-  m_refData = NULL;
+    m_refData = NULL;
 }
 
 wxAcceleratorTable::~wxAcceleratorTable()