[wx-dev] #9594: trivial fix for widgets-combobox sample

wxTrac noreply at wxsite.net
Mon Jun 16 11:02:56 PDT 2008


Ticket URL: <http://trac.wxwidgets.org/ticket/9594>

#9594: trivial fix for widgets-combobox sample
---------------------+------------------------------------------------------
 Reporter:  wojdyr   |       Owner:         
     Type:  defect   |      Status:  new    
 Priority:  normal   |   Milestone:         
Component:  samples  |     Version:  2.9-svn
 Keywords:           |   Blockedby:         
    Patch:  0        |    Blocking:         
---------------------+------------------------------------------------------
 when the combobox is re-created (after changing any settings), it expands
 vertically and it doesn't look good.
 {{{
 --- samples/widgets/combobox.cpp        (revision 54266)
 +++ samples/widgets/combobox.cpp        (working copy)
 @@ -428,7 +428,7 @@
          m_combobox->Append(items[n]);
      }

 -    m_sizerCombo->Add(m_combobox, 1, wxGROW | wxALL, 5);
 +    m_sizerCombo->Add(m_combobox, 0, wxGROW | wxALL, 5);
      m_sizerCombo->Layout();
  }

 }}}


--
Ticket URL: <http://trac.wxwidgets.org/ticket/9594>


More information about the wx-dev mailing list