1. now clip wxPaintDC in its ctor
2. added wxCheckListBox git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include "wx/bmpbuttn.h"
|
||||
#include "wx/button.h"
|
||||
#include "wx/checkbox.h"
|
||||
#include "wx/checklst.h"
|
||||
#include "wx/listbox.h"
|
||||
#include "wx/radiobox.h"
|
||||
#include "wx/radiobut.h"
|
||||
@@ -357,6 +358,12 @@ MyUnivFrame::MyUnivFrame(const wxString& title)
|
||||
WXSIZEOF(choices), choices,
|
||||
WXSIZEOF(choices),
|
||||
wxRA_SPECIFY_ROWS);
|
||||
|
||||
wxCheckListBox *checkLbox = new wxCheckListBox(this, -1,
|
||||
wxPoint(500, 550),
|
||||
wxDefaultSize,
|
||||
WXSIZEOF(choices), choices);
|
||||
checkLbox->Check(2);
|
||||
}
|
||||
|
||||
void MyUnivFrame::OnButton(wxCommandEvent& event)
|
||||
|
Reference in New Issue
Block a user