]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/listbox.cpp
bug fix for using multiline string (i.e. with embedded '\n's) in wxTextCtrl ctor
[wxWidgets.git] / src / gtk / listbox.cpp
index ea20374c2ded7e221a76daeaa5916771ec3582ae..449d4fbe014ad67378076a66ed5b26a0b3a1be90 100644 (file)
@@ -333,6 +333,7 @@ bool wxListBox::Create( wxWindow *parent, wxWindowID id,
 {
     m_needParent = TRUE;
     m_acceptsFocus = TRUE;
+    m_isListBox = TRUE;
     m_prevSelection = 0;  // or -1 ??
 
     if (!PreCreation( parent, pos, size ) ||