wxImageList *imaglist)
: WidgetsPage(notebook)
{
+ m_chkVert = NULL;
+ m_chkWrap = NULL;
+ m_spinbtn = NULL;
+ m_spinctrl = NULL;
+ m_textValue = NULL;
+ m_textMin = NULL;
+ m_textMax = NULL;
imaglist->Add(wxBitmap(spinbtn_xpm));
// init everything
void SpinBtnWidgetsPage::OnSpinCtrl(wxCommandEvent& event)
{
+ if (!m_spinctrl)
+ return;
int value = event.GetInt();
wxASSERT_MSG( value == m_spinctrl->GetValue(),
wxLogMessage(_T("Spin control value changed, now %d"), value);
}
-#endif
\ No newline at end of file
+#endif