Small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -243,6 +243,7 @@ void MyFrame::OnInsertPage(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
void MyFrame::OnDeletePage(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
if (m_notebook->GetPageCount() > 0)
|
||||
m_notebook->DeletePage( m_notebook->GetPageCount()-1 );
|
||||
}
|
||||
|
||||
|
@@ -121,6 +121,7 @@ wxMonthComboBox::wxMonthComboBox(wxCalendarCtrl *cal)
|
||||
}
|
||||
|
||||
SetSelection(m_cal->GetDate().GetMonth());
|
||||
SetSize(-1, -1, -1, -1, wxSIZE_AUTO_WIDTH|wxSIZE_AUTO_HEIGHT);
|
||||
}
|
||||
|
||||
wxYearSpinCtrl::wxYearSpinCtrl(wxCalendarCtrl *cal)
|
||||
|
Reference in New Issue
Block a user