]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/stattext.cpp
Applied patch [ 1701723 ] wxAUI: Added event for doubleclicks on the tabbar bg
[wxWidgets.git] / src / gtk / stattext.cpp
index c60fcf3f114b77b8553f0d5cd515e87d3697bb6f..a10e98f85bce2f78c4b6b83d4c17298d1fb6a2ff 100644 (file)
@@ -52,13 +52,11 @@ bool wxStaticText::Create(wxWindow *parent,
                           long style,
                           const wxString &name )
 {
-    m_needParent = TRUE;
-
     if (!PreCreation( parent, pos, size ) ||
         !CreateBase( parent, id, pos, size, style, wxDefaultValidator, name ))
     {
         wxFAIL_MSG( wxT("wxStaticText creation failed") );
-        return FALSE;
+        return false;
     }
 
     m_widget = gtk_label_new(NULL);