]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/choice.cpp
fix compilation in wxUSE_MENUS==0 case
[wxWidgets.git] / src / gtk / choice.cpp
index 86c9a171910caec3cf723581798551d2519d97f4..ef4a9e61d197c48d62cf9547f9a52dd7adaa55d3 100644 (file)
@@ -94,8 +94,6 @@ bool wxChoice::Create( wxWindow *parent, wxWindowID id,
                        int n, const wxString choices[],
                        long style, const wxValidator& validator, const wxString &name )
 {
-    m_needParent = true;
-
     if (!PreCreation( parent, pos, size ) ||
         !CreateBase( parent, id, pos, size, style, validator, name ))
     {