X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/00a395425ca9bc2af88f24d56324779c726fba94..4b6f0b91ff0e646ff62968fa11418788f20ac7d1:/samples/scroll/scroll.cpp diff --git a/samples/scroll/scroll.cpp b/samples/scroll/scroll.cpp index ab79be35eb..8107e5e22c 100644 --- a/samples/scroll/scroll.cpp +++ b/samples/scroll/scroll.cpp @@ -97,7 +97,9 @@ MyCanvas::MyCanvas( wxWindow *parent, wxWindowID id, (void) new wxComboBox( this, -1, "This", wxPoint(10,130), wxDefaultSize, 5, choices ); - (void) new wxRadioBox( this, -1, "This", wxPoint(10,200), wxDefaultSize, 5, choices ); + (void) new wxRadioBox( this, -1, "This", wxPoint(10,200), wxDefaultSize, 5, choices, 2, wxRA_SPECIFY_COLS ); + + (void) new wxRadioBox( this, -1, "This", wxPoint(10,300), wxDefaultSize, 5, choices, 2, wxRA_SPECIFY_ROWS ); wxListCtrl *m_listCtrl = new wxListCtrl( this, -1, wxPoint(200, 10), wxSize(180, 120),