git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42130
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
* wxEVT_SCROLL_LINEUP event handler for ID_RICHTEXTLISTSTYLEPAGE_LEVEL
*/
* wxEVT_SCROLL_LINEUP event handler for ID_RICHTEXTLISTSTYLEPAGE_LEVEL
*/
-void wxRichTextListStylePage::OnLevelUp( wxSpinEvent& WXUNUSED(event) )
+void wxRichTextListStylePage::OnLevelUp( wxSpinEvent& event )
- m_currentLevel = m_levelCtrl->GetValue();
+ m_currentLevel = event.GetPosition();
TransferDataToWindow();
}
}
TransferDataToWindow();
}
}
* wxEVT_SCROLL_LINEDOWN event handler for ID_RICHTEXTLISTSTYLEPAGE_LEVEL
*/
* wxEVT_SCROLL_LINEDOWN event handler for ID_RICHTEXTLISTSTYLEPAGE_LEVEL
*/
-void wxRichTextListStylePage::OnLevelDown( wxSpinEvent& WXUNUSED(event) )
+void wxRichTextListStylePage::OnLevelDown( wxSpinEvent& event )
- m_currentLevel = m_levelCtrl->GetValue();
+ m_currentLevel = event.GetPosition();
TransferDataToWindow();
}
}
TransferDataToWindow();
}
}
* wxEVT_COMMAND_TEXT_UPDATED event handler for ID_RICHTEXTLISTSTYLEPAGE_LEVEL
*/
* wxEVT_COMMAND_TEXT_UPDATED event handler for ID_RICHTEXTLISTSTYLEPAGE_LEVEL
*/
-void wxRichTextListStylePage::OnLevelTextUpdated( wxCommandEvent& WXUNUSED(event) )
+void wxRichTextListStylePage::OnLevelTextUpdated( wxCommandEvent& event )
+ // Can cause problems
+#if 0
- m_currentLevel = m_levelCtrl->GetValue();
+ m_currentLevel = event.GetInt();
TransferDataToWindow();
}
TransferDataToWindow();
}