]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/spinctrltest.cpp
Add a test for eol-native file existence in the release script.
[wxWidgets.git] / tests / controls / spinctrltest.cpp
index 2338bb4248f8b948494977ccf72a2db6c2305cf2..88e86d35167de29ebad8db68f0c9bcd707b5c460 100644 (file)
@@ -107,7 +107,7 @@ void SpinCtrlTestCase::NoEventsInCtor()
     delete m_spin;
     m_spin = new wxSpinCtrl;
 
     delete m_spin;
     m_spin = new wxSpinCtrl;
 
-    EventCounter updated(m_spin, wxEVT_COMMAND_SPINCTRL_UPDATED);
+    EventCounter updated(m_spin, wxEVT_SPINCTRL);
 
     m_spin->Create(parent, wxID_ANY, "",
                    wxDefaultPosition, wxDefaultSize, 0,
 
     m_spin->Create(parent, wxID_ANY, "",
                    wxDefaultPosition, wxDefaultSize, 0,
@@ -119,7 +119,7 @@ void SpinCtrlTestCase::NoEventsInCtor()
 void SpinCtrlTestCase::Arrows()
 {
 #if wxUSE_UIACTIONSIMULATOR
 void SpinCtrlTestCase::Arrows()
 {
 #if wxUSE_UIACTIONSIMULATOR
-    EventCounter updated(m_spin, wxEVT_COMMAND_SPINCTRL_UPDATED);
+    EventCounter updated(m_spin, wxEVT_SPINCTRL);
 
     wxUIActionSimulator sim;
 
 
     wxUIActionSimulator sim;
 
@@ -177,7 +177,7 @@ void SpinCtrlTestCase::Range()
     // that this doesn't result in any events (as this is not something done by
     // the user).
     {
     // that this doesn't result in any events (as this is not something done by
     // the user).
     {
-        EventCounter updated(m_spin, wxEVT_COMMAND_SPINCTRL_UPDATED);
+        EventCounter updated(m_spin, wxEVT_SPINCTRL);
 
         m_spin->SetRange(1, 10);
         CPPUNIT_ASSERT_EQUAL(1, m_spin->GetValue());
 
         m_spin->SetRange(1, 10);
         CPPUNIT_ASSERT_EQUAL(1, m_spin->GetValue());