1. added test for wxTreeCtrl::Insert(size_t index)
2. temporary test code for wxCalendarCtrl in controls.cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -65,6 +65,8 @@
|
||||
#include "wx/spinctrl.h"
|
||||
#endif // wxUSE_SPINCTRL
|
||||
|
||||
#include "wx/generic/calctrl.h"
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// class definitions
|
||||
//----------------------------------------------------------------------
|
||||
@@ -258,7 +260,7 @@ bool MyApp::OnInit()
|
||||
frame->Show(TRUE);
|
||||
frame->SetCursor(wxCursor(wxCURSOR_HAND));
|
||||
|
||||
//frame->GetPanel()->m_notebook->SetSelection(3);
|
||||
frame->GetPanel()->m_notebook->SetSelection(5);
|
||||
|
||||
SetTopWindow(frame);
|
||||
|
||||
@@ -641,6 +643,10 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
|
||||
|
||||
m_notebook->AddPage(panel, "wxBitmapXXX");
|
||||
|
||||
panel = new wxPanel(m_notebook);
|
||||
(void)new wxCalendarCtrl(panel, -1);
|
||||
m_notebook->AddPage(panel, "wxCalendar");
|
||||
|
||||
// --------------- TEST CODE ----------------------
|
||||
|
||||
// layout constraints
|
||||
|
Reference in New Issue
Block a user