]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sizer.cpp
byte ordering changed to network ordering
[wxWidgets.git] / src / common / sizer.cpp
index 1d9073891ff707dcd7ba0326e884f4417c5801d2..062e2767d59c4c48bf91b8765a476cbb60165c1d 100644 (file)
@@ -280,7 +280,10 @@ void wxSizerItem::SetDimension( wxPoint pos, wxSize size )
 void wxSizerItem::DeleteWindows()
 {
     if (m_window)
+    {
          m_window->Destroy();
+         m_window = NULL;
+    }
 
     if (m_sizer)
         m_sizer->DeleteWindows();