wxRadioBox starts to work

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-09-11 20:21:57 +00:00
parent 6e78473c26
commit 35fd96a83a
10 changed files with 585 additions and 5 deletions

View File

@@ -38,6 +38,7 @@
#include "wx/button.h"
#include "wx/checkbox.h"
#include "wx/listbox.h"
#include "wx/radiobox.h"
#include "wx/radiobut.h"
#include "wx/scrolbar.h"
#include "wx/scrolwin.h"
@@ -345,6 +346,17 @@ MyUnivFrame::MyUnivFrame(const wxString& title)
wxALIGN_RIGHT);
new wxRadioButton(this, -1, _T("Toggle me"), wxPoint(10, 600));
new wxRadioButton(this, -1, _T("And then me"), wxPoint(150, 600));
new wxRadioBox(this, -1, _T("&Horizontal"),
wxPoint(100, 470), wxDefaultSize,
WXSIZEOF(choices), choices,
WXSIZEOF(choices),
wxRA_SPECIFY_COLS);
new wxRadioBox(this, -1, _T("&Vertical"),
wxPoint(300, 550), wxDefaultSize,
WXSIZEOF(choices), choices,
WXSIZEOF(choices),
wxRA_SPECIFY_ROWS);
}
void MyUnivFrame::OnButton(wxCommandEvent& event)