Added wxTolBar::etMargins
Checklistbox update git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
#include "wx/imaglist.h"
|
||||
#include "wx/spinbutt.h"
|
||||
#include "wx/clipbrd.h"
|
||||
#include "wx/checklst.h"
|
||||
|
||||
// XPM doesn't seem to work under Windows at present. Or, wxNotebook images
|
||||
// aren't working.
|
||||
@@ -209,8 +208,6 @@ const int ID_SLIDER = 181;
|
||||
|
||||
const int ID_SPIN = 182;
|
||||
|
||||
const int ID_CHECKLIST = 190;
|
||||
|
||||
|
||||
BEGIN_EVENT_TABLE(MyPanel, wxPanel)
|
||||
EVT_SIZE ( MyPanel::OnSize)
|
||||
@@ -410,14 +407,6 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h ) :
|
||||
m_spinbutton->SetRange(0,100);
|
||||
|
||||
m_notebook->AddPage(panel, "wxGauge", FALSE, Image_Gauge);
|
||||
|
||||
panel = new wxPanel(m_notebook);
|
||||
panel->SetBackgroundColour("cadet blue");
|
||||
panel->SetForegroundColour("blue");
|
||||
m_listbox = new wxCheckListBox( panel, ID_CHECKLIST, wxPoint(10,10), wxSize(160,70), 5, choices );
|
||||
m_listbox->SetBackgroundColour("wheat");
|
||||
button = new wxButton( panel, ID_LISTBOX_FONT, "Set Italic font", wxPoint(340,130), wxSize(140,30) );
|
||||
m_notebook->AddPage(panel, "wxCheckListBox", FALSE, Image_List);
|
||||
}
|
||||
|
||||
void MyPanel::OnPasteFromClipboard( wxCommandEvent &WXUNUSED(event) )
|
||||
|
Reference in New Issue
Block a user