]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/stattext.cpp
fixed huge memory leak in wxFileDialog (closes patch 544060)
[wxWidgets.git] / src / univ / stattext.cpp
index e09644b5b1224381b99eb631c7168ffbc2475d9a..5bb880a96ef641bafcca943e7eb62a530a21163d 100644 (file)
@@ -59,8 +59,6 @@ bool wxStaticText::Create(wxWindow *parent,
     if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) )
         return FALSE;
         
-    m_hasDialogBackground = TRUE;
-
     SetLabel(label);
     SetBestSize(size);