- m_led = new wxLEDNumberCtrl(this, MY_LED,
- wxPoint(20, 20), wxSize(300, 200),
- wxLED_ALIGN_LEFT | wxLED_DRAW_FADED);
+ m_led = new wxLEDNumberCtrl(this, wxID_ANY,
+ wxDefaultPosition, wxDefaultSize,
+ wxLED_ALIGN_LEFT|wxLED_DRAW_FADED|wxFULL_REPAINT_ON_RESIZE);
+
+ m_led->SetValue(_T("01.23 7-8-9"));
+
+ m_sizer = new wxBoxSizer(wxVERTICAL);
+ m_sizer->Add(m_led, 1, wxEXPAND|wxALL, 10);
+ m_sizer->Fit(this);