+
+void SpinBtnWidgetsPage::OnSpinCtrlDouble(wxSpinDoubleEvent& event)
+{
+ double value = event.GetValue();
+
+ wxLogMessage(_T("Spin control value changed, now %g"), value);
+}
+
+void SpinBtnWidgetsPage::OnSpinText(wxCommandEvent& event)
+{
+ wxLogMessage(_T("Text changed in spin control, now \"%s\""),
+ event.GetString().c_str());
+}
+
+void SpinBtnWidgetsPage::OnSpinTextEnter(wxCommandEvent& event)
+{
+ wxLogMessage("\"Enter\" pressed in spin control, text is \"%s\"",
+ event.GetString());
+}
+
+#endif // wxUSE_SPINBTN